I differ with the opinion of Mr. Om Parkash.
Withdrawal is "always non-conditional".
A suit dismissed as withdrawn is "Non-appealable".
Your lawyer must have informed you very well before submitting application under order XXIII of the Code of Civil Procedure, 1908.
If you are not satisfied with the advise of your lawyer it is advisable to consult and engage another local prudent lawyer for appreciaition of facts/ documents and professional advise .