AUI-1104 Adding max undo depth to the Undo/Redo module