Add confirm when navigating away from dirty forms.