Integrating undo manager