improved the popup dialog for smtp setup