I use a pill popper (bought from my vet). Have the dog sit between my legs on the floor, gently grab the upper jaw with my left hand, stick fingers in both sides till mouth opens just wide enough to insert pill popper, gently and slowly advance pill popper preloaded with pill, till way back in the throat, expell the pill and hold the mouth shut till dog swallows, and usually sticks her tongue out when swallowing. If not, I blow gently into her nose (will make them swallow), and massage the throat. This is what I did when she first was put on meds. Now, after a year, she'll come to me and just lets me do it, no restraint at all. It can be a pain, as this med cannot be given with food, so that limits many options, but she gets a lot of praise and a toy after taking her meds. She especially likes being told how pretty she is... and being made over and kisses.
The liquid I give her measured in a syringe, then stick the tip between her teeth on the side of her mouth, while holding her head up, expel the contents into her mouth, holding her head up till she swallows it all. I used to put it in her food, but it's very sticky and she ended up with alot on her face fur.
I don't use the pill popper on my CT dog. His pill I hide in chicken baby food, but I give him a little taste first before hiding the pill in the second 1/4 tsp of baby food. Then another taste to be sure he swallowed the pill.
Your method is great. Any way you can get them to take their meds that works is good. The less stress the better. It is different, too, when medicating a dog that is on meds for the rest of their life, as opposed to two weeks or a month of meds for a curable problem.