Checks forms for any changes and alerts user before they leave