Having hit a cat in a work van (worked for a day care and was going to pick up the kids) I know how devastating it can be.
So glad the dog will be ok. Unfortunately, the cat I hit was not so lucky.
This happened about 15 years ago and I still can't even stand to think about it.
Take peace that the dog is going to recover.