change modal directive to ui.bootstrap