Rain Sensing Power Windows and Sunroof

It would be nice if the power windows and sunroof closed automatically if it started to rain.

As long as the car has a keypad entry system, there wouldn't be a chance to accidentally get locked out of a car you intended to be open...

Closing the windows and sunroof does not have to be the default action, and pinch sensors would be required on all. It wouldn't matter if they closed slower than normal if the sensors were sensitive enough to detect the first few drops.