Undo and redo work.