How to open popup on mouse event in a table cell inside modal?

Hi there! I have table displayes inside a modal. for each cell in the table, I have an event listener on click, I want to display a popup on the click event of the table cell