Made Logout dialog box bigger in portrait orientation and made it hidden on window resize.