This is a beach specifically for dogs to be off leash.
I don't think bringing a young child to a beach like that and leaving them unattended is a smart idea (sounds like you were unattended as the owner & your dad had to run to come get you).
If the dog was off leash in an area where he shouldn't have been then that is a different story.