ensured dom structure for login dialog with specs