added code to connect add account action to open add account dialog