Family thankful as dog survives coyote attack