Add Button to ListBox template

I'm using the ListBox to build a templates list with filtering and wanted to add buttons to the template. Adding the button works but they do not respond to clicks. Is there some way to have the button intercept the click instead of going to the select?

You can try stopping the propagation of the click event.

Works for me:

Thanks! That's what I needed.