Toddler transported to hospital after dog attack