Adding undo when deleting all tiles or all instances.