Undo/Redo feature in the editor