fires before a window is closed
myWins.attachEvent("onClose", function(win){ // your code here });
win is dhtmlXWindowsCell instance, please check dhtmlXWindowsCell API for details