How does a tragic building collapse spur new building safety legislation?

How does a tragic building collapse spur new building safety legislation?