Adding orientation to the account dialog