Changing login to dialog window.