Joseph Scheidler appeals from a trial court order granting the motion of Milwaukee Women's Medical Services, Inc., National Women's Health Organization of Summit, Inc., and Planned Parenthood of Wisconsin, Inc., (collectively referred to hereafter as Summit) to reopen and amend a previously entered order for dismissal pursuant to §'806.07, *520Stats. Because the trial court failed to apply the relevant law to the facts, this court concludes that the trial court erroneously exercised its discretion. Accordingly, the trial court's order is reversed and the cause remanded.1
BACKGROUND
On August 25, 1997, Summit commenced an injunction action against Scheidler and fifty-two other parties seeking to enjoin them from "impeding and/or blockading the entrances to plaintiffs' facilities and intimidating and harassing plaintiffs' patients and staff." Summit sought compensatory and punitive damages as well as temporary and permanent injunc-tive relief. After the trial court entered an order denying Summits' motion for temporary relief, amended pleadings were filed. On December 1, 1997, Summit and Scheidler executed and the trial court approved and entered a "STIPULATION AND ORDER FOR DISMISSAL." The stipulation provided in pertinent part that the parties:
hereby stipulate that all claims against said defendant relating to conduct which occurred prior to the signing of this stipulation are hereby dismissed as to Milwaukee Women's Medical Services, Inc., National Women's Health Organization of Summit, Inc., and Planned Parenthood of Wisconsin, Inc., with prejudice and without costs or fees to the respective parties.
The order, echoing the language of the stipulation, provided:
*521[A]ll claims against defendant Joseph Scheidler relating to conduct which occurred prior to the signing of this stipulation are hereby dismissed as to Milwaukee Women's Medical Services, Inc., National Women's Health Organization of Summit, Inc., and Planned Parenthood of Wisconsin, Inc., with prejudice and without costs or fees to the respective parties.
In February 1998, Scheidler submitted the Milwaukee County circuit court's order in a federal class action case, arguing that Summit, a class representative in the twelve-year-old federal lawsuit against Scheidler and others,2 was collaterally estopped from continuing its claims against Scheidler in light of Summit's stipulation and the circuit court's order to dismiss all claims against Scheidler relating to his conduct prior to December 1,1997. Summit then filed a motion pursuant to § 806.07(1), Stats., to reopen and modify the trial court's order dismissing Scheidler from the Milwaukee County suit.
Summit's motion and supporting papers alleged that it was entitled to relief under § 806.07(1)(a), (c) and (h), Stats.3 Summit alleged that it was entitled to *522relief under § 806.07(1)(a) because counsel for Summit was not involved in the federal litigation, pending in Illinois, and drafted the broad language of the stipulation in this case as a result of counsel's excusable neglect and inadvertence. Alternatively, Summit argued that it was entitled to relief under § 806.07(1)(c) due to the alleged "misrepresentation" by Scheidler's counsel regarding his intent to use the favorably broad language in the Milwaukee County circuit court order to Scheidler's advantage in the pending federal litigation. Finally, Summit requested relief under § 806.07(1)(h), contending that Scheidler's use of the order for dismissal in the federal case was an " 'extraordinary circumstance' entitling [Summit] to reopen the order of dismissal and obtain a partial modification."
At the conclusion of the hearing on Summit's motion to reopen, the trial court summarized Summit's predicament: "[Summit] seeks to undo the stipulation and the resulting order and the resulting judgment based upon a failure of the attorney who negotiated the agreement to foresee certain legal consequences of the stipulation." While the trial court agreed with Scheidler that this oversight by Summit's counsel was not excusable neglect under § 806.07(1)(a), Stats., and that there was no evidence in the record to support Summit's contention that Scheidler's counsel misrepresented his intention under § 806.07(1)(c) when the stipulation was executed, the trial court, nevertheless, granted Summit's motion. The trial court reasoned that a new order containing language more precisely reflecting the intent of the parties was justified in light of "the court's responsibility to do justice, responsibility *523to act if there is mistake or inadvertence." Apparently-relying on principles of contract law, the trial court explained that it "would be perverse for me to stick the parties to that language when it was never the intent of the plaintiff to agree to that language." The trial court further defended its decision by characterizing the collateral consequences of the stipulation's broad language as a "windfall" for Scheidler upon which his counsel was attempting to "capitalize" in the pending federal litigation. The trial court did not address Summit's motion for relief pursuant to § 806.07(1)(h), Stats.
On February 26,1998, the circuit court entered an "ORDER FOR DISMISSAL." It provided in pertinent part:
That pursuant to sec. 806.07(1), Wis. Stats., the stipulation between the parties for the Dismissal of Joseph M. Scheidler, entered into on December 1, 1997, is vacated and the Order of the Court signed on December 1, 1997 concerning the dismissal of defendant Scheidler is reopened and modified, pursuant to Section 806.07(1), Wis. Stats., to “read as follows:
1. That any and all claims asserted in the Amended Complaint by plaintiffs Milwaukee Women's Medical Services, Inc., National Women's Health Organization of Summit, Inc., and Planned Parenthood of Wisconsin, Inc., against defendant Joseph M. Scheidler are dismissed on the merits and with prejudice.
5. That it is not the intent of this court that this order have any effect upon National Organi*524zation for Women, Inc., et al. v. Joseph. M. Scheidler, et al., Case No. 86 C 7888 in the United States District Court for the Northern District of Illinois, Eastern District.
Scheidler appeals.
DISCUSSION
"A trial court may totally accept or reject a stipulation presented by the parties for its approval." Phone Partners Ltd. Partnership v. C.F. Communications Corp., 196 Wis. 2d 702, 709, 542 N.W.2d 159, 161 (Ct. App. 1995). Upon the circuit court's approval of the recommended stipulation, it becomes the court's judgment. See id. Accordingly, when an order is entered pursuant to the stipulation of the parties, "it is considered a judicial act, subject to the court's continuing jurisdiction to modify the order" pursuant to § 806.07(1), Stats. Id. at 709, 542 N.W.2d at 161.
A motion for relief pursuant to § 806.07(1), Stats., is addressed to the trial court's discretion. See id. at 709, 542 N.W.2d at 161. "A discretionary determination, to be sustained, must demonstrably be made and based upon the facts appearing in the record and in reliance on the appropriate and applicable law." Hartung v. Hartung, 102 Wis. 2d 58, 66, 306 N.W.2d 16, 20 (1981). Additionally, "a discretionary determination must be the product of a rational mental process by which the facts of record and law relied upon are stated and are considered together for the purpose of achieving a reasoned and reasonable determination." Id. "Because 'the exercise of discretion is not the equivalent of unfettered decision-making,' the record on appeal must reflect the circuit court's reasoned *525application of the appropriate legal standard to the relevant facts in the case." Hedtcke v. Sentry Ins. Co., 109 Wis. 2d 461, 471, 326 N.W.2d 727, 732 (1982) (citation omitted).
The trial court, focusing on Summit's contribution to the drafting problem, properly rejected Summit's legal argument that its failure to recognize the potential collateral consequences of its own drafting amounted to excusable neglect. Cf. McLaughlin v. Jung, 859 F.2d 1310, 1312-13 (7th Cir. 1988) (carelessness or lack of due care on the part of a litigant or an attorney in negotiating a settlement is no basis for granting relief under federal rule governing motions for relief from judgment).4
The trial court reasoned next that Summit's conduct in creating the potentially grave consequences flowing from its drafting error was "inadvertent" under § 806.07(1)(a), Stats. However, the trial court applied the term too broadly since virtually any failure on the part of an attorney to predict and appreciate the potential collateral legal consequences of his or her own proposed settlement language results, at least in part, from inadvertence. The adoption of such an all-encompassing definition of inadvertence in § 806.07(1)(a), Stats., would deprive its coequal statutory term "excusable neglect" of most of its meaning. Accordingly, we cannot accept the trial court's analysis. See State ex rel. Reimann v. Circuit Court for Dane County, 214 *526Wis. 2d 605, 619, 571 N.W.2d 385, 390 (1997) (construction of a statute that renders part of it meaningless must be avoided since courts are obligated to avoid construction that renders portion of statute superfluous).
The trial court also relied on principles of contract law to vacate the original stipulation and order and to enter the subsequent order of dismissal. A trial court, addressing a motion to reopen an order predicated on a stipulation, "may properly look to contract law for assistance in construing, enforcing or modifying a stipulation." Phone Partners, 196 Wis. 2d at 711, 542 N.W.2d at 162. It follows that it was not improper for the court to inquire into the validity of the assent of the parties at the time that they agreed to the stipulation. However, a party's mistake as to the scope, meaning or impact of a written instrument is a ground for attacking the validity of a contract only if the mistake is based on a past or present fact. See Continental Cas. Co. v. Wisconsin Patients Compensation Fund, 164 Wis. 2d 110, 118, 473 N.W.2d 584, 587 (Ct. App. 1991).
Here, the mistake allegedly made by counsel was not based on a fact, but rather was based on Summit's mistake of law when its counsel failed to consider the potential legal consequences of the original stipulation's broad language. Accordingly, the trial court's éffort to grant relief to Summit by characterizing this broad language as evidence of a mutual mistake in drafting was an error of law. Such an error of law amounts to an erroneous exercise of discretion. See State v. Hutnik, 39 Wis. 2d 754, 763, 159 N.W.2d 733, 737 (1968) (misapplication or erroneous view of the law is an erroneous exercise of discretion).
*527We conclude further that the trial court erred in its attempt to divine the parties' intent in drafting the stipulation when it addressed Summit's claim to relief under § 806.07(1)(c), Stats. This error occurred when the trial court determined that the record contained no facts or admission supporting Summit's contention that Scheidler's counsel harbored an intent prior to December 1, 1997, to use the broad language of the stipulation, drafted and submitted for approval by Summit's counsel, to defeat the pending federal litigation. While a trial court may consider extrinsic evidence of the parties' intent regarding a contract or stipulation, the court may only do so after first concluding that the contract language at issue is ambiguous. See Hope Acres, Inc. v. Harris, 27 Wis. 2d 285, 291, 134 N.W.2d 462, 465, (1965). No such determination was made by the trial court. To the contrary, the court appeared at one point to recognize that the relevant language of the stipulation was plain: "[T]he plaintiff entered into a stipulation which seems on its face to have clearly released Mr. Scheidler from anything having arisen earlier with respect to the claims made by Summit. ..." Accordingly, the trial court's resort to extrinsic evidence to address Summit's request for relief under § 806.07(1)(c), Stats., resulted from an erroneous exercise of discretion.
Finally, we note that the circuit court's attempt to narrow the legal effect, if any, of its second order by adding language explaining the circuit court's own intent that the order not "have any effect upon National Organization for Women, Inc., et al. v. Joseph M. Scheidler, et al., Case No. 86 C 7888 in the United States District Court for the Northern District of Illi*528nois, Eastern District" amounted to dicta. A court rendering a first judgment does not have the power to determine that judgment's effect; the successor court will make its own decision. See Midway Motor Lodge of Elk Grove v. Innkeeper's Telemanagement & Equip. Corp., 54 F.3d 406, 409 (7th Cir. 1995).
In light of the foregoing discussion, this court concludes that the trial court's February 26,1998 "ORDER FOR DISMISSAL" must be reversed. Because the trial court did not address Summit's motion and supporting affidavit requesting relief from the original stipulation and order pursuant to § 806.07(1)(h), Stats., at the hearing or in its February 1998 order for dismissal, we remand this matter to the trial court.5
By the Court. — Order reversed and cause remanded with directions.
This is an expedited appeal under Rule 809.17, Stats.
This lawsuit is described in the appellant's appendix as "[a] federal action [that] is pending before ... the United States District Court for the Northern District of Illinois, Eastern Division, Case number 86 C 7888."
806.07 Relief from judgment or order. (1) On motion and upon such terms as are just, the court. .. may relieve a party or legal representative from a judgment, order or stipulation for the following reasons:
(a) Mistake, inadvertence, surprise, or excusable neglect;
(c) Fraud, misrepresentation, or other misconduct of an adverse party;
*522(h) Any other reasons justifying relief from the operation of the judgment.
Federal Rule of Civil Procedure 60(b) is the basis for § 806.07(1), Stats. "[W]here a Wisconsin Rule of Civil Procedure is based on a Federal Rule of Civil Procedure, decisions of the federal courts, to the extent they show a pattern of construction, are considered persuasive authority." Neylan v. Vorwald, 124 Wis. 2d 85, 99-100, 368 N.W.2d 648, 656 (1985).
We decline to address this issue on our own motion since it would involve the exercise of discretion. See Barrera v. State, 99 Wis. 2d 269, 282, 298 N.W.2d 820, 826 (1980) (an appellate court must not exercise the trial court's discretion).