The dishwasher comes with a junction box that can be installed in a cabinet next to the dishwasher cutout. Is that correct? It can't be installed in the dishwasher cutout. No other electrical box is required when it's properly installed.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.