This works, but opens a new window for every instance of the same form as well.
I have found that setting the html.targetWindow to a name identifying the popup works much better.
ie. html.targetWindow=popup1 and the other =popup2 etcetera.
For best results, use the Firefox browser..