Try passwing 0 as the hwndOwner see if it works. Passing an actual value (numerical) causes the window to be modal to the calling window. When pressing the button you can use:
jscript code:
pPlusWnd.Handle
as the hwndOwner now pPlusWnd is dependent on what the variable name is that is a parameter to
code:
function OnWindowIdEvent_CtrlClicked(pPlusWnd, sControlId) {
...
}
What value were you passing to the function?