UndoRecorderOn example