title: how to show a message if user navigate away from page
body: <p>I like to show  warning message if the user attempt to Navigate away from the current page without saving their updates. How can i check if user click other links out of the page.</p>
  
  <p>Thanks in advance</p>