Mikeofba
Open the door and remove screws holding the door hinges and two screws on another side of the door frame. Holding the door about 90 degrees to the cabinet lift it up and pull it toward yourself releasing the hinges from the slots. Grab the front panel on top on both sides and pull it out toward yourself till about 40 degrees and release it from the bottom clips.
Now you have the access to the gas burner and the igniter. If you will put the door back without the front panel you'll be able to run the dryer and see how the ignition works. Before you replace the igniter check it for the continuity and if has it then the problem could be the thermal fuse. The part number for the igniter is
AP276134 and the part number for the thermal fuse is
AP285207 .
Just for the references here are the break down diagrams for the Maytag dryer
Model MDG8416AWW
Good luck.
Gene.