How to track, whether page data has modified by the user? [Just like simple alert message in Gmail compose. Its alert if we hits any of link, and if page contains and data. ] even we his back button How to catch this?