Here are the instructions on removing and replacing that trim:
1. Unplug dryer or disconnect power.
2. Remove the three screws from the top panel, and slide the top panel to the rear to remove.
3. Gently remove the decorative trim that surrounds the door and upper console by unsnapping it from the machine.
4. Slide the console up and off of the machine.