Replace all the jQuery UI dialogs with pure bootstrap modal since they seem to play much nicer with Angular mentality.
Deprecate the include of jQuery UI.