In order to avoid accidental data loss, before deleting tasks, first archive them.
This function could be extended to archiving Scope folders, task groups, task rows and milestones too
Created by Akos Hamar