Popup/Modal when clicking image

We’re working on creating custom forms in Confluence. Our design team would like to have a single landing page with categories denoted by images instead of links. We know we can set the links to open new tab to a page containing the form. However, we’d like to explore the possibility and effort to have the form pop up as a modal when the image is clicked. Can anyone provide examples or suggestions how to accomplish that? Our choices for the forms are either Adaptavist Forms for Confluence (preferred) or custom forms using AUI. Still reading up on AUI, but it seems it’s mostly just inserting the HTML macro and embedding within that from the examples I’ve tested. Thanks