Dismiss the edit connection dialog when the settings are successfully saved