delivered the opinion of the court:
This appeal is brought by Mary Beth Dickinson and William Keith Dickinson, maternal aunt and uncle of Sandra and Suzanne O’Rourke, and by Rita Gutkowski, another maternal aunt and guardian of the estate and person, from orders of the circuit court of Will County dismissing their petition to intervene in a custody modification proceeding and awarding custody to Dennis O’Rourke, the natural father.
The O’Rourke girls, both minors, and their brother James, now an adult and not involved in this appeal, were placed in the custody of their mother in 1981 when their parents were divorced. In 1985, following a lengthy illness, the mother, Marsha O’Rourke, died. During the mother’s illness, she and the children had continued to live in the marital home in Lockport, Illinois. The Dickinsons, who lived in Wisconsin, came to Lockport on weekends for some 14 months to help care for Marsha and her children. After the mother’s death, her relatives acceded to the father’s request that the children be turned over to him.
The father filed a petition to modify custody. Subsequently, without objection from the father, a petition for leave to intervene filed by Gutkowski and the Dickinsons was allowed. In the petition, the Dickinsons sought custody of the two girls, and at their request, the court appointed the Isaac Ray Center of Chicago to evaluate all parties involved and ordered the Dickinsons to pay the cost. After the evaluation was completed, but apparently before it was filed with the court, the father filed a motion to dismiss the petition to intervene. Dismissal was allowed, and the court then awarded permanent custody to the father.
The petitioners’ basic contention is that the trial court erred in ruling that they lack standing to intervene in opposition to the natural father, who has custody of the children. Petitioners first argue that the father waived his right to object by not objecting at the time the petition was filed and before the expense of the evaluation was incurred. This contention is based upon the premise that the motion to dismiss was filed pursuant to section 2 — 619 of the Code of Civil Procedure (Ill. Rev. Stat. 1985, ch. 110, par. 2 — 619). Although lack of standing has been held to be an affirmative defense which may be the basis for dismissal under section 2 — 619(a)(9) (Hermes v. Wm,. F. Meyer Co. (1978),
Here petitioners have filed a petition to intervene in the custody proceeding commenced by the father as plaintiff. Thus, petitioners claim standing under section 601(c) of the Illinois Marriage and Dissolution of Marriage Act (Ill. Rev. Stat. 1985, ch. 40, par. 601(c)), while the trial court ruled that they lack standing under section 601(b)(2) as interpreted by the Illinois Supreme Court in In re Custody of Peterson (1986),
The statutory provisions in question are as follows:
“(b) A child custody proceeding is commenced in the court:
(1) by a parent, by filing a petition:
(1) for dissolution of marriage ***; or
(ii) for custody of the child ***; or
(2) by a person other than parent, by filing a petition for custody of the child in the county in which he is permanently resident or found, but only if he is not in the physical custody of one of his parents.
(c) Notice of a child custody proceeding shall be given to the child’s parents, guardian and custodian, who may appear, be heard, and file a responsive pleading. The court, upon showing of good cause, may permit intervention of other interested parties.” (Emphasis added.) Ill. Rev. Stat. 1985, ch. 40, par. 601.
Interventions are provided for in section 2 — 408 of the Code of Civil Procedure (Ill. Rev. Stat. 1985, ch. 110, par. 2 — 408). Intervention as a matter of right is permitted when a statute confers an unconditional right to intervene (Ill. Rev. Stat. 1985, ch. 110, par. 2— 408(a)(1)), while intervention is a matter within the discretion of the court when a statute confers a conditional right to intervene (Ill. Rev. Stat. 1985, ch. 110, par. 2 — 408(b)(1)). Clearly the right to intervene in the case at bar is conditioned upon a showing of good cause and, therefore, is a matter within the discretion of the trial court. Thus, the determinative question for this appeal is whether the trial court abused its discretion in dismissing petitioners from the proceeding.
The trial court here relied primarily upon In re Custody of Peterson (1986),
In the case at bar, the petition of the Dickinsons alleged only that they cared for Marsha and the children in the O’Rourke home “on a weekly and often daily basis” for 14 months. Such care certainly did not vest physical or legal custody in the Dickinsons. While the mother was alive, she was the legal custodian of the girls. At her death, physical custody transferred to the father. Like the grandparents in Peterson, the Dickinsons here lack standing under section 601 to seek custody because legal custody was with the mother, not the aunt and uncle, up to the time of the mother’s death. Thus, the Dickinsons cannot seek custody on the ground that it would be in the “best interest of the child” under section 601 of the Illinois Marriage and Dissolution of Marriage Act (Ill. Rev. Stat. 1985, ch. 40, par. 601). They can be considered for custody only by alleging and proving the unfitness of the father in an appropriate proceeding under either the Juvenile Court Act or the Adoption Act, as indicated above.
Since the Peterson case plainly prevents the petitioners from seeking custody of these minor children as against their natural father, we cannot say the trial court abused its discretion in dismissing the petition to intervene. Furthermore, we see no meaningful distinction between the filing of a petition to intervene which seeks custody, as was done by petitioners in the case at bar, and the situation in Peterson where two separate petitions for modification were filed, one from the father and one from the grandparents, both of which sought custody.
The final error asserted by the petitioners is that the trial court erred in granting a change of custody to the natural father without any findings of fact as required in contested custody cases. (See In re Custody of Carter (1985),
For the reasons set forth herein, the judgment of the circuit court of Will County is affirmed.
Affirmed.
STOUDER and SCOTT, JJ., concur.
