only add a course if it doesn't match existing
form validates and search inputs cleared on modal