I love this feature on the M's. The other day I left my keys in my gym bag and threw it in the trunk. The trunk would shut, then it would make a beeping noise and pop open. I thought something was blocking the trunk from shutting completely, or I was having some kind of mechanical/electrical problem. After a few minutes of frustration and confusion, I finally realized my keys were still in my bag.
