Fix regression: reinstate confirmation dialog for restoreToDefaults