I have 2 separate WDC,say comp A and comp B.
I am using comp B as comp usage in A.
Now I am opening view V1 of comp B as a popup window using method create_window_for_cmp_usage for a button event of comp A.
I have few T in V1, one of the button is 'save &close' , by pressing this button one pop up will apear to ask user 'want to proceed or not' with two choices yes and no.
Now I want the same functionality if anyone press close(x) from the top right corner of the pop up window.
I have tried to write similar code of save&close button event in wdoexit method of view V1, but the problem is VV1is getting closed, is there any way to deferred the standard onclose event?