Button in modal to redirect the parent page?

Hi community,

Question: is there a way to have a button in a modal dynamically redirect (based of an URL within Airtable) to another page from the PARENT page (and close the modal)?

Use case: modals are a beautiful way to show more information while users keep the parent page in sight (without needing to redirect, so they know where they are on the website) and have a lean parent page. However, a button in a modal to redirect the user results in the modal opening in a new tab (no matter what option you choose in Softr for the way to open the URL: in a new tab or the same page).

Regards,
Thijs