Upon such party's return from out-of-state military deployment, the party shall be given an opportunity to be heard on the child custody and visitation order or ex parte order of protection prior to a permanent order being entered by the court as to such issues. If the party in active military service knowingly and voluntarily signs a written waiver to the right to have such a hearing upon the party's return from out-of-state military deployment, the court may issue a permanent order on the issues under this section.
§ 452.412, RSMo