Brooklyn's legal community gathers at Bar Association Foundation dinner