Disable Undo/Redo.