Police are appealing for witnesses after an attempted burglary in Chipping Norton was avoided thanks to a barking dog.