Restore undo/redo for most actions.