Fix connection dialog