Fix default button behavior in CoreConnectDlg.