What Happens If You Microwave With The Door Open?

What causes a microwave to run when the door is open?

.

Is it safe to use a microwave without the glass door?

Is it dangerous if microwave runs with door open?

Is it safe to open the microwave before it beeps?