Add persistent undo