Fix crash when no email addresses in settings
More dialog fixing.