This is the code I made to make the Close buttons work:
function OnWndTestEvent_CtrlClicked(Wnd, ControlId)
if(ControlId == "BtnClose")
I've made 2 XML files, one for each window, and both are EXACTLY the same (for testing purposes). However, the script to Close the windows that pasted above only works for one of the windows.
Do you know why this might be?