Any ideas for a gas tank "rollover valve"? I'm trying to build some safety into my new rally car (for obvious reasons).

My filler cap is an aluminum flip-top on the fender, and I need a way for the tank to continue holding fuel with the car inverted and the cap ripped off.

I need to buy one, or have an idea how to build one.