You can't. There may be some way of avoiding this, however none of the solutions would be foolproof. The simple answer is you have to expect that people are going to click the X and you need to write your code with that in mind.
regards
David Cameron
|