Hi, hrsanei,
You could set off "the dog" with two commas if you felt there might otherwise be some confusion, but it's idiomatic in many cases to include the designation along with the name -- like Wanda the witch; Peter the rabbit.
Well, maybe those would be capitalized: Wanda The Witch; Peter The Rabbit . . . ??
Other opinions?
- A.