(a) Voluntary Dismissal: Effect Thereof.
(b) Involuntary Dismissal: Non-suit; Effect Thereof. For failure of the plaintiff to prosecute or to comply with these rules or any order of court, a defendant may move for dismissal of an action or of any claim against him. After the plaintiff in an action tried by the court without a jury has completed the presentation of his evidence, the defendant, without waiving his right to offer evidence in the event the motion is not granted, may move for a dismissal on the ground that upon the facts and the law the plaintiff has shown no right to relief.
The court as trier of the facts may then determine them and render judgment against the plaintiff or may decline to render any judgment until the close of all the evidence. If the court renders judgment on the merits against the plaintiff, the court shall make findings as provided in Rule 52(a). Unless the court in its order for dismissal otherwise specifies, a dismissal under this subdivision and any dismissal not provided for in this rule, other than a dismissal for lack of jurisdiction or for improper venue or for failure to join a party under Rule 19, operates as an adjudication upon the merits.
(c) Dismissal of Counterclaim, Cross-Claim or Third Party Claim. The provisions of this rule apply to the dismissal of any counterclaim, cross-claim, or third-party claim. A voluntary dismissal by the claimant alone pursuant to paragraph (1) of subdivision (a) of this rule shall be made before a responsive pleading is served or, if there is none, before the introduction of evidence at the trial or hearing.
(d) Costs of Previously-Dismissed Action. If a plaintiff who has once dismissed an action in any court commences an action based upon or including the same claim against the same defendant, the court may make such order for the payment of costs of the action previously dismissed as it may deem proper and may stay the proceedings in the action until the plaintiff has complied with the order.