enable adhoc enableUndo for either true || false