added confirmation for destructive actions.