fixed add account dialog showing up multiple times