488. If he elects to abandon the action or application he shall, if a sole plaintiff or sole applicant, apply for an order to dismiss the action or application, on repayment of the costs incurred by the defendant, or respondent, or which may have been paid by his next friend. *Procedure on election of sole plaintiff to abandon on payment of costs.*