frigidaire dishwasher

Recently, after the past 2 complete uses, the dishwasher loses all power but doesnt trip the breaker. I switch the breaker on and off and the unit resets and regains power and can be used again. Is the control panel bad? Is the selector knob/switch bad?

After a complete wash and dry, the dishwasher had no power again or i would describe it as in a frozen or locked state. The control panel indicator light said "clean" and after opening the door, unloading and reloading the dishwasher, the selector knob and control panel would’nt do anything. I switched the breaker on and off and now the control panel responds and is ready to go. Whats going on? Is the control panel or selector switch going bad?