The popup will still exist. It is just the parent window which is refreshed. So I want to store the popup reference "myRef" (var myRef = window.open(...)) before the unload of the parent window, and deserialize it when the window has finished refreshing, to have the control of the same popup (still opened).