You must edit the Javascript file called "modal.js".
Here's what I changed, and it worked for me.
Go to the end of the file and find the "document.write()" function. Replace that with the following:
Code:
document.write('<div id="interVeil" onClick="WINDOWNAME.hide()"></div>')
dhtmlwindow.addEvent(window, function(){if (typeof dhtmlmodal!="undefined") dhtmlmodal.adjustveil()}, "resize")
Remember that you must change WINDOWNAME to the name of your window-- I didn't figure out a way to automatically detect the name, but I guess you could work this in if you needed it. (You could set that as a variable then when you create the window set its name as that, etc.)
Bookmarks