inputdialog used for account selection