Undo support for pasting and drag&drop.
Integrated widget cutting and deleting with undo manager.