Stop a user navigating away from a page. Check