Custom event on all <a> with data-href
Alert the user if the form is updated before loading a new page