If a proceeding for enforcement under this subchapter is commenced in a court of this State and the court determines that a proceeding to modify the determination is pending in a court of another State having jurisdiction to modify the determination under subchapter 2, the enforcing court shall immediately communicate with the modifying court. The proceeding for enforcement continues unless the enforcing court, after consultation with the modifying court, stays or dismisses the proceeding.