bug fixes for student new form + modal refreshing errors