Add function to ask for confirmation if not disabled.