Dishwasher Quiet Series 300 not working

I have a Maytag Quiet Series 300. For some time now the display buttons didn’t light up. It would work but only on 1 cycle and once started I couldn’t shut it off with the cancel button. It did shut off when open the door. At times, it wouldn’t even work but by shaking and shifting the door it would come on. It now has stopped working altogether. There is power to the unit. I am guessing a control panel??? Any help greatly appreciated.