Add has-error and has-warning to modal form-group alerts