improve connect dialog interface