Modified undo/redo support