I have the same problem.
I have tried the following code, it tells me that the case has resolved.
if (Xrm.Page.data.entity.getIsDirty()) {
Xrm.Page.data.entity.save();
}
Xrm.Page.data.refresh(true).then(function () {
uteCloseIncidentRequestRequest();
}
}, function (errorCode, message) {
Xrm.Utility.alertDialog("Save record error." + message);
});