Replaced a jquery dialog with a bootstrap popover and fix the Web Api Controller