Dialog to allow user to log in to third parties

Creates the ability to have a dialog pop up when a user wants to log in to a third party to interact: e.g. disqus, youtube, instapaper, etc.
Or alternatively, won't this listener still fire and raise an error once the dialog is closed?