Dishwasher not starting

When the door is closed and turned on there is nothing but a flash of the start light.Started to give trouble of not starting unless you pushed the door closed in the exact same spot below the handle. Could a swith or latch need adjusting? Thanks J