This script- or should we say plugin- extends DHTML Window widget with modal windows support. A modal window differs from a regular DHTML window in that a "veil" appears over the rest of the page whenever the modal window is open, requiring the user to explicitly close it before the veil is lifted and the user can interact with the page again. Use it when you want the DHTML window to command absolute attention from your visitor, such as a form that should be filled out (or explicitly dismissed). The script supports a custom "onclose" event handler (extended from its counterpart in DHTML Window widget) that lets you access and react to the data entered into the modal window when the window is closed.