Modeling adaptive behavior during a disease outbreak