Fixed the dialog close button question.