how about the close button actually closes the dialog