Has anybody done this both ways?
I think, if a web popup is running, you can do nothing from outside than close it - right?
Calling a JavaScript listener would be helpful.
From inside one could call a window.location.href = '...' with some infos for the outside?
Thanks!