add confirm dialogs when removing and quitting