Fixed saving a persisted document using #save