02.05.2017 - There's a way you can add a transition once the user has click on the login button using the Dialog API, before the window is closed. Using dialog.show() instead .