A judgment dismissing a cause of action before the close of the proponent’s evidence is not a dismissal on the merits unless it specifies otherwise, but a judgment dismissing a cause of action after the close of the proponent’s evidence is a dismissal on the merits unless it specifies otherwise.
N.Y. C.P.L.R. Law ยง R5013