This is a working example of your exit modal.
Move your cursor outside the browser window to trigger it.