My vet will let you hold your pet while he does the injection so you can be an important part of their life right to the end. It's fine. It is always worth asking if s/he'll come to your home so your dog can die in her own bed in her own home, many vets will - for a fee.
Good luck