Implement undo action for write and delete for SelectionMultiple