Hi @Nikhil2000,
I just tried using your js in my extraClientlib, but I couldn't generate this issue. (coral)can you share your dialog XML for debugging this?Also, see if this js helps you,
(function ($, $document) {
"use strict";
$.validator.register("foundation.validation.validator", {
...