This popup (div) is the first child of the <form> element, so the jQuery selector will find and return that first.
So, you can simply make sure this prefix is removed:
varContract = $telerik.$(
oWnd = $find(varContract);
In this way you can avoid hardcoding ClientIDs, which is an error prone approach.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed