The search dialog should contain a standard X button in the right top corner for closing the search dialog. I know that there is an explicit close button, but a standard close button is the X button.