Intercepting X

After getting the student feedback boxes set up, everything worked just fine --almost.


I've found that the student can get around all the wonderful things (onBlur, screen-sized button) you helped me set up by simply clicking the feedback box's Windows [X] Close button to close the pop-up.


Is there any way to intercept the [X] Close button and making it do something else? I can't disable it (if that's even possible) because it has to be accessible to the student. I just want it to do some other processing in addition to closing the box.


Thanks.

Discussions have been disabled for this post