Using a bootstrap modal in lieu of javascript alert()