The provisions of Rules 41.01 and 41.02 apply to the dismissal of any counterclaim, cross-claim, or third-party claim.