Dam failure highlights need for investment in public safety