Pop up a JS confirm dialogue to ask if the user is sure to abandon changes without submitting the form. Source: directive/form.js, line 145