removing ngDialog and using angularstrap modals