I am trying to open a new pop up for my application . And each popup has a window name . Suppose if the user closes the popup he can open the popup with same name .else the existing pop up should be displayed .
I wrote the below code to do that . But this is not opening a popup if the user closes it else its opening a new popup . Please suggest how can go with this .