Checks if the form is the same before leaving the page as it was when we came in, if not, make sure they want to leave.