I have said it before... an underground fence is the illusion of safety. It does not keep predators out. A previous poster uses a visible and invisible fence, that sounds safer! I am not against them in theory, but many people use them TOO confidently!
If the children are old enough to go OUT on their own, they are old enough to learn respect for the rules, and Gran's dog! IMO