Text this: Nonsmooth Bifurcations and the Role of Density Dependence in a Chaotic Infectious Disease Model