When issuing a final order of custody or visitation, the court shall make findings of fact and conclusions of law on the record in support of its decision or, if the petition is dismissed under section 14-09.4-07, state the reasons for the dismissal.
N.D.C.C. § 14-09.4-15