Click somewhere within the dialog box and the button will be unselected. Now click outside of the dialog box and the button will not be selected.