I have a jsp page that opens a pop-up window and closes it using WindowHandle = window.open() and WindowHandle.close(). I now want to make the pop-up modal but I can't use the showModalDialog method as this doesn't return a handle to the window so it can't be closed by the calling jsp.
Here is some sample code i have :
waitScreenWindowHandle = window.open();
// Method to close the wait screen
if(waitScreenWindowHandle != null)