Maytag MDb5100Awb Not draining

Hi i have this maytag dishwasher MDB5100AWb .

During a cycle we smelled a funny chemical burning type smell . Afterward we noticed water in the bottom . And when i hit the drain button . The water drains .But it then refills it .

No of the cycles will let you select it . The buttons light up but dont start . Just the drain button .

Also at first no lights was on .Now they light up properly . It repeatedly does this . Thank you any help be very greatfull on part i need