Fixed multiple connection dialog show bug