23 Pa.C.S. § 5426
(c) Modification.— In a proceeding to modify a child custody determination, a court of this Commonwealth shall determine whether a proceeding to enforce the determination has been commenced in another state. If a proceeding to enforce a child custody determination has been commenced in another state, the court may: