There are, of course, different ways to analyse a piece of music but to me the modulations aren't happening where you have circled. The first one, into the dominant key (G#), strictly speaking doesn't happen until bars 14-15 with a V7 - I cadence (the F double sharp is the leading tone). The next, into d#, is at bar 22-23, again a V - i cadence (the C double sharp is the leading tone). Hope that helps.