Show a confirmation dialog if model changes will be lost when navigating from a form