If you buy a dowel jig and generally they have dowel locator pins in the set which works on the same principal as you use firstly drill the hole out for the dowel then put the locator pin in, line up the pieces and push them together and hey presto you have a indent to drill out the other piece in the perfect place