dialogs with ui-bootstrap