title: Warn user before leaving web page with unsaved changes
body: <p>I have some pages with forms in my application. </p>
  
  <p>How can I secure the form in such a way that if someone navigates away or closes the browser tab, they should be prompted to to confirm they really want to leave the form with unsaved data?</p>