Prevent backspacing from taking user from the page.