enable noUndo functionality