So as we all know if you click on a submit button that has embedded in it a onClick(windown.open(...)) this opens a new window with all the lovely attributes yo
onClick(windown.open(...))
window.open(url, '', 'width=1000, height=500')
then, you get new popup every time to click popupbutton.