make deletion actually undoable.