accept undo, redo option
accept 'undoMax' option