I feel javascript will be the way to do it... i also have a similar problem and i have used a javascript popup, after that form is submitted i need to update a DOM element in my main window...but have been unable to do so...
did u find any answers to ur problem. If yes, please share them with me.
Thanks in advance.