adding error flash when add event form data is invalid