Added primary resize, move and change parent undo/redo