Is it possible to put a button inside an annotation?

I have an annotation that shows data from the graph and I want a button to appear on one side that, when pressed, opens a modal box made with bootstrap which will serve to change the parameters of the graph so that the data of the graph is recalculated With the data entered and later the graph is updated, someone has an idea of ​​how to do it or at least simulate the button with a “<a.>” or “<span.>” tag since I have noticed that the “text” property of the annotation accepts these tags, I tried it with the <button.> tag but the annotation shows me the html code.

By the way, the annotation has the plotly_clickanotation event active but I don’t know how to call the modal box from this event either

And since we are in this, can we also add an icon?