two data toggle bootstrap code example
Example 1: jquery data-toggle modal and tooltip
<span data-toggle="modal" data-target="modal">
<a data-toggle="tooltip" data-placement="top" title="Tooltip">
Hover Me
</a>
</span>
Example 2: how to keep both data-toggle in bootstrap4
<span data-toggle="modal" data-target="modal">
<a data-toggle="tooltip" data-placement="top" title="Tooltip">
Hover Me
</a>
</span>