Don't forget, the phone doesn't actually know whether or not the flaps are closed. It can't physically tell one way or the other, the pop ups are just a simple reminder, my Z used to give me them all the time, then they stopped one day and never came back.
If it's broke, use a hammer. If that fails, you're not using a big enough hammer.