modal implemented
switch to angular ui bootstrap