You have a Button for Close. I click on it and it saya do you want to close.
Of course I want to close. That is why I clicked on the button.
Just because you know how to Pop up a question box is not reason to do it. Users will soon get sick of this. Microsoft went overboard in VISTA with this idea. They droped it in Windows 7. Suggest you do the same.