Fix undo and autosave for unbaked changes (#231)