Ask for confirmation when leaving the edited form