IE7 and IE8 (not sure about other IE versions) keeps the applet open even after navigating away from the page and reopens with much higher resolution which ultimately blocks other navigation.

I use following to generate frame

private Frame getAFrame(){ String appletHTMLURL = ""; final frame = new (); frame.setWidth(600+"px"); frame.setHeight(650+"px"); frame.setUrl(appletHTMLURL); return frame; }
This frame is placed inside the LayoutContainer.
What could be the reason for this? and solution?