It is important to understand that the door plays a very important roll in keeping the microbe waves inside the unit. If the door doesn’t shut properly, it could leak out these harmful micro waves.
After any repairs to a door are made a Survey test needs to be made to test for any leakage. It can be done with a Survey meter or with a less expensive Survey test strips that can be purchased at some appliance parts stores or online.
Never continue to us a microwave with a damaged door or one that isn’t shutting properly. To do so is a safety hazard.