removes add account dialog if still visible and account exists