How does the timing work out for dopamine to affect the development of long-term potentiation?
The ability of dopamine to work on different time scales is discussed by Schultz. More generally, the basic idea of prediction error reinforcement based learning and DA is that the prediction error signal "propagates back in time". There is some doubt for how temporally precise this DA signal actually is, and if DA is fast enough to support RPE TD learning.

Does that answer the question?