I understand that your requirement is that when the image is identified, the model is displayed and you want to have a click event. You can do this: when the model is displayed, the button is set to visible and the trigger event is bound on the button