showLoginDialog added to DialogConstructor