Section 2. If such tender is accepted, the parties shall file a stipulation of dismissal in the court in which the action is pending.