FireFox bug - Mouse Freeze / app hangs when closing window

This page will show you a Mac FireFox 6.0 dialogModal freeze on Mac. I think this bug has been around for a while...
/Hans
hans.fast[at]backbone.se

To repeat:
1. Open Window 1 with window.showModalDialog
2. From the modal dialog open Window 2 with window.open
3. Everything seems to work BUT...
4. Close Window 2
5. The mouse doesn't work in Window 1 and app seems frozen

Funny thing is the keyboard works in the "frozen" window, and you can open a new window by File/New Window, and in that window the mouse works.
But the in Window 1 the mouse cannot be used, and all windows belonging to that "window session" are in all practical sense, unusable.