Very simular concept to wiring the trigger of a shotgun tied down to a closed door--I've seen it in movies.