Keep in mind that dogs do not have the instinctive behaviors of cats for using a litter box and burying their waste.
While many dog owners succeed with litter box training, you need to be aware of the risk: some litter box-trained dogs may continue to have accidents off and on for life.