Undo and redo persist data.