PUt a hook and eye on the door, or a slide latch.
And then do this:
Solicit the dog to rush the door. Immediately slam the door VERY loudly, being careful not to catch the dog in it anywhere. Walk to the center of the room away from the door, and stand for one minute. Do not look at or speak to the dog. Completely ignore it.
After the one minute is up, attempt to solicit the dog to rush the door again. If she does, again, SLAM, REALLY LOUD, and again, go to the center of the room, fold your arms, and stand quietly and ignore the dog for one minute. You need to time this, it needs to be exactly one minute.
After the second rep, see if you can get the dog to the door again. Most dogs won't approach the door again without being coaxed. Once you get to this point, teach the dog the WAIT command. This is easily taught when coming out of the crate with a well timed crate door closing. Un latch the crate door. Say "(dog's name,), WAIT". Open the door keeping a close eye on the dog. The SECOND the dog begins to move, and BEFORE it gets to the crate door, SLAM the crate door, making sure not to hit or catch the dog in it.
Now say wait again, open the crate door just slightly, and if the dog moves, slam it, but not so hard, just enough to make a noise. Do not let the dog out until you can open the crate door and the dog stays. This works very quickly.
Then, on a LEASH, use the wait command when the door is opened until the dog is reliable.