I mis-spoke. I did not mean disable really, I meant act like a Cancel button. In that clicking the X causes a controlled exit (rather than an abrupt I'm outta here regardless of whatever havoc it may cause).
Which is not always the case for any Windows X.