CLOUDSTACK-7561: UI: After creating a new account, the "Add Account" dialog remains open

-Removed unused code that was causing javascript exception

Signed-off-by: Brian Federle <brian.federle@citrix.com>