for DnD working with UNDO/REDO