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. CPLR R5013