Updating dialogs to catch up with latest angular-ui-bootstrap.