completed the UI elements for account dialog