N.Y. C.P.L.R. § 321 provides the framework for the substitution of attorneys. Section (b) concerns change, [substitution], or withdrawal of attorney and reads in relevant part: