Poor boy.
that there is nothing to worry about. Kudos to you for thinking quick by the way.
No doubt you saved Harley's life.
Sadly, in a worse case of traffic versus dog, one time here a well liked member of the cattle dog scene was at the edge of the road waiting to cross and it was the dog that did the wrong thing, it lunged forward into the road, pulling him with it, and both got hit and killed.
I always worry about animals near traffic in case the unforseen happens.