(b) The State's Attorney or Attorney General may dismiss the action notwithstanding the objections of the person initiating the action if the person has been notified by the State's Attorney or Attorney General of the filing of the motion, and the court has provided the person with an opportunity for a hearing on the motion.
The State's Attorney or Attorney General may settle the action with the defendant notwithstanding the objections of the person initiating the action if the court determines, after a hearing, that the proposed settlement is fair, adequate, and reasonable under all the circumstances. Upon a showing of good cause, the hearing may be held in camera.
Upon a showing by the State's Attorney or Attorney General that unrestricted participation during the course of the litigation by the person initiating the action would interfere with or unduly delay the State's Attorney's or Attorney General's prosecution of the case, or would be repetitious, irrelevant, or for purposes of harassment, the court may, in its discretion, impose limitations on the person's participation, including, but not limited to, the following:
(1) limiting the number of witnesses the person may call;
(2) limiting the length of the testimony of those witnesses;
(3) limiting the person's cross-examination of witnesses; and
(4) otherwise limiting the participation by the person in the litigation.
Upon a showing by the defendant that unrestricted participation during the course of the litigation by the person initiating the action would be for purposes of harassment or would cause the defendant undue burden or unnecessary expense, the court may limit the participation by the person in the litigation.