I couldn't interpret the logic that you are using to open/close windows. Normally the corresponding window will be closed on executing following code in client side button click. Give a try with the following code and see whether it helps.
In my case, both the popup windows I have opened were closed, if click Cancel button in one of the popup window.
0
Tsvetina
Telerik team
answered on 28 Jan 2011, 08:18 AM
Hi Rajz,
We would need more information in order to find out what is the cause of the issue. Can you paste the code that you use to open windows? Are you using a modified version of the code in the below linked example? If not, I would recommend you to also take a look at it. Window Editing