Bind action when buttons are dynamically loaded

If confirmation buttons are loaded in the page via ajax this click event is not binded, with this minor change every time a button with class 'btn-confirm' is loaded into the page the click event will bind to it.