Added destroying login_dialog object