I have seen this done before.
When the user clicks the Close button It doesn't close. But it you do it the second time it will cose.