E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
The old lady whose whole time seems to have been devoted to her dog, who always kept her on the trot, and always made game of her. Her temper was proof against this wilfulness on the part of her dog, and her politeness never forsook her, for when she saw Master Doggie dressed in his fine clothes
The dame made a curtsey, the dog made a bow;
The dame said, Your Servant, the dog said, Bow-wow.