delivered the opinion of the court:
The defendant, Walter J. Regard, filed a claim with the Illinois Industrial Commission (Commission) under the Workers’ Compensation Act (820 ILCS 305/1 et seq. (West 1992)) (the Act), seeking benefits for injuries he allegedly sustained on March 20, 1991, while working for Cassens Auto Transport (Cassens). When Cassens failed to pay medical expenses and temporary total disability (TTD) benefits, the defendant filed a petition before the Commission pursuant to section 19(b) of the Act (820 ILCS 305/19(b) (West 1992)). A Commission arbitrator found that the defendant was temporarily totally disabled as a result of his work-related injury and awarded him, among other relief, 375/7 weeks of TTD benefits. As a result of the arbitrator’s award, the plaintiff, Scott Wetzel Services, Cassens’ workers’ compensation insurance carrier, paid the defendant $21,639.65 for TTD benefits. Cassens, however, sought a review of the arbitrator’s award with the Commission. On March 4, 1994, pursuant to Cassens’ petition for review, the Commission modified the arbitrator’s award finding that the defendant was only entitled to l6/7 weeks of TTD benefits or $841.83. On March 21, 1994, pursuant to section 19(f) of the Act (820 ILCS 305/19(f) (West 1992)), the defendant filed a timely appeal from the Commission’s decision in the circuit court for the Sixteenth Judicial Circuit. That action remains pending and undetermined.
On May 31, 1994, the plaintiff filed the instant action in the circuit court of Cook County premised on a theory of unjust enrichment and seeking to recover $20,797.82 for TTD benefits it paid to the defendant in excess of the amount to which he was entitled as determined by the Commission. The defendant moved to dismiss the plaintiff’s complaint and also sought sanctions against the plaintiff pursuant to Supreme Court Rule 137 (134 Ill. 2d R. 137). On August 10, 1994, the trial court dismissed the instant action with prejudice to the plaintiff’s right to refile and denied the defendant’s motion for sanctions. The plaintiff has appealed the dismissal of its action, and the defendant challenges the denial of his motion for sanctions.
The defendant’s motion which resulted in the dismissal of this action was entitled "Motion To Dismiss For Failure To State A Cause Of Action” and purported to have been brought pursuant to section 2 — 615 of the Code of Civil Procedure (735 ILCS 5/2 — 615 (West 1992)). Section 2 — 615 motions addressed to the legal sufficiency of a complaint raise but a single issue: whether, when taken as true, the facts alleged in the complaint set forth a good and sufficient cause of action. When judged by that standard, there is no doubt that the plaintiff’s complaint states a cause of action. (See Illinois Graphics Co. v. Nickum (1994),
Instead, the defendant attached exhibits to his motion and alleged facts which were dehors the face of the plaintiff’s complaint, all in support of the propositions that the trial court lacked subject-matter jurisdiction and that the plaintiff’s action was premature because the defendant’s appeal was pending from the Commission’s decision regarding the extent of his entitlement to TTD benefits. Defenses such as these are not available under section 2 — 615, nor may section 2 — 615 motions be supported by reference to any facts or exhibits that are not alleged in or attached to the complaint under attack. Gilmore v. Stanmar, Inc. (1994),
Motions to dismiss based upon a court’s lack of subject-matter jurisdiction (735 ILCS 5/2 — 619(a)(1) (West 1992)), or the premature nature of an action (Schwanke, Schwanke & Associates v. Martin (1992),
Addressing the propriety of the dismissal of the plaintiff’s action, we note that to recover under the theory pled, the plaintiff will be required to prove that the defendant received sums in payment for TTD benefits to which he was not entitled. But only the Commission, subject to very limited judicial review as provided in section 19(f) of the Act, is empowered to determine a person’s entitlement to TTD benefits under the Act. (See Hartlein v. Illinois Power Co. (1992),
We believe, however, that the circuit court erred in dismissing this action with prejudice to the plaintiff’s right to refile. Under Supreme Court Rule 273 (134 Ill. 2d R. 273), a dismissal with prejudice is deemed to be on the merits of the plaintiff’s claim and as conclusive of the rights of the parties as if the matter had been tried and resolved by a final judgment adverse to the plaintiff. (Morris v. Union Oil Co. (1981),
In his brief on appeal, the defendant challenges the propriety of the trial court’s denial of his petition for sanctions under Rule 137. The grant or denial of a petition for sanctions is a matter within the sound discretion of the trial court. (Laurence v. Flashner Medical Partnership (1990),
Affirmed as modified.
THEIS and S. O’BRIEN, JJ., concur.
