Display a warning when leaving settings page without saving.