adding bootstrap modal for error messages