8-year-old boy and his dog stop would-be burglar