heres a ghg link , if you visit this link in i.e. then close the window , the exit console then pops up in the previous window you were working in , i.e. the window we are in now .
http://www.girlshuntinggirls.com/?nats=Mjk6NTo1
But you have to remember this works both ways , if your exit code is popping into a previously opened window , then you may also be triggering something in that window.. i.e. a timed popup that then could steal the focus from your exit popup.. it could be an email page or a bank account
heres a different version you might wanna consider
EXIT CONSOLE