Add method chaining to Undoer
Pressing Enter saves