Using safari 4.0.3 on a Mac OS 10.x. Steps to reproduce: Create HTML to open window using showModalDialog(). Close the new modal window (either with the window.close(), self.close() or clicking the red close button on window).
*** This bug has been marked as a duplicate of bug 28948 ***