Watch the Soloing Study #2 online guitar lesson by Jon Finn from Modal Rock Soloing
After a rundown of the exercise's road map (i.e. How many times is each section repeated? How long?). Notice that when the key changes, the improvisation transitions smoothly to the next key, sometimes anticipating by one or two beats.