On the implementation of dislocation reactions in continuum dislocation dynamics modeling of mesoscale plasticity