Dishwasher won't start

My dishwasher won’t start when I close the door to the dishwasher and press the "START" button.The lights on the door are on. I am suspecting that the switch inside the front door may be broken as it sounds like it does not latch. Can you tell me if I am close in my diagnosis? Is there anything else I should check?