Q: The way I was taught it (way back when I was taking lessons still) was to use modes when 'soloing over chord changes'. Like, if you have (to chose a boring, textbook example) a I-vi-ii-V in C, that you think ionian over the I, aeloian over the vi, dorain over the ii and mixolydian over the V. But that was never helpful to me to think in those terms.
A: ew, that's terrible advice, when playing over 1,6,2,5 sequence in C, just play in C! more specifically just get used to playing over 1,6,2,5 in C. and like maybe learn how to hit the F note when it lands on the d minor, but your ears (if you have them) should easily point you there. if you are thinking about an entire 'scale' for each chord individually you are going to have a very bad time and the listener will too