broken door latch?

I replaced the detergent dispenser (part number W1022428) on my dishwasher. In the process, I removed the screws holding the control panel, which fell loose. After reassembling everything, there appears to be no power to the control panel. I tried resetting the breaker/fuse box with no luck. It appears the latch is not engaging properly. How do I fix this? Or can I fix it?