I have'nt got the code for it, but from what i can see you would have to use some javascript-code to open/close the window.
btw, i dug up this, maybe you can use it.
* Goes in the "form-page" *
<SCRIPT language="JavaScript">
function LaunchIt() {
self.name = 'main_window';
window.open('/url','title','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=300,height=400');
}
Then in the produktpage (popup) you target the button/link or whatever to main_window......ofcourse you have to remember to send the variables.
-Stig