Motorbike has a close call with a dog