Photofragmentation dynamics and reactive collisions of laser-excited electronic states