When persons agree to conduct and participate in a mediation for the purpose of compromising, settling, or resolving a dispute, evidence of anything said or of any admission made in the course of the mediation is inadmissible as evidence and disclosure may not be compelled in any subsequent civil proceeding except as provided in this section. This section does not limit the compulsion nor the admissibility of evidence if:
N.D.C.C. § 31-04-11