got basic validation to work on add task modal. need to refactor to only check on submit though