Setup a current_organization for each account, and make the account_dialog reference the current user rather than the global Accounts.