Doesn't work in Chrome...
If your cursor never enters the viewport it doesn't fire. If your cursor exits the viewport at the side or bottom and doesn't reenter it doesn't fire. If you close or switch tabs with a key combination it doesn't fire.
Also, I hate modal popups.