Persistent undo now works