Except for a petition for the appointment of a guardian in an emergency or issuance of a protective order limited to property located in this Commonwealth under section 5914(a)(1) or (2) (relating to special jurisdiction), if a petition for the appointment of a guardian or issuance of a protective order is filed in this Commonwealth and in another state and neither petition has been dismissed or withdrawn, all of the following apply:
(1) If the court in this Commonwealth has jurisdiction under section 5913 (relating to jurisdiction), it may proceed with the case unless a court in another state acquires jurisdiction under provisions similar to section 5913 before the appointment or issuance of the order.
(2) If the court in this Commonwealth does not have jurisdiction under section 5913, whether at the time the petition is filed or at any time before the appointment or issuance of the order, the court shall stay the proceeding and communicate with the court in the other state. If the court in the other state has jurisdiction, the court in this Commonwealth shall dismiss the petition unless the court in the other state determines that the court in this Commonwealth is a more appropriate forum.