The exit code is something very similar to the ones i posted.
http://earthunplugged.org/aa/
When the page is closed the exit will popup in the last used window..
If you dont have any windows open , you wont notice it , or if you have multiple versions of i.e. running it wont pop into the old window it will pop a new window..