Until a petition has been filed, the court, pursuant to subsections (c) and (d) herein, may dismiss the suit, order the filing of a petition, or grant leave to the respondent to file a petition in the nature of a counter petition.
After the filing of the petition, the party filing the same shall, within 2 days, serve a copy thereof upon the other party, in the manner provided by rule of the Supreme Court for service of notices in other civil cases.
750 ILCS 5/411