added a dialog for creating identities, but still need to add validation messages