The form submission itself is successful, but the modal remains open. Uniquely, my form's submit button is placed outside the tag, and I've tried using @ViewChild to programmatically close the modal, but to no avail.
I called this function after successfully submitting the data:
closePopUp() {
this.submitted = false;
this.referrersForm.reset();
this.ReferrerPoliciesForm.reset();
this.addContactDetailForm.reset();
this.addNoteModalForm.reset();
this.editMode = false;
this.selectedFiles = [];
this.renderFileList();
}