Popup Editor within a Popup Editor

Popup Editor within a Popup Editor

  
I have an edit screen that opens in a popup editor, within that popup editor I have a screen that needs to popup and take data and send it back to the original popup editor with a web block refresh (ajax). The problem I am having is the data (from the second popup) will not save when I click save and the second popup will not close.

Thank you in advance!

Kris