The user is now prompted before leaving a the website.