Introduce AccountConfigWidget type for handling errors later on
Refuse to close config dialogs with OK if settings are invalid
Check for a valid xmpp id in the config widget