Visual editor: undo and redo buttons