enable persistent undo