How to bind click callbacks to a dynamically generated list of buttons

See Dynamic Controls and Dynamic Output Components