Undo/redo transform edits. Needs some fixes