CSS/HTML coding for stopping modal popups from appearing

Hey all,

My org has moved our Intranet to the new Google sites, and I've learned that this platform doesn't allow modal popups to appear with embedded websites.

There are 2 ways modal popups appear right now in our Knack app: 1) when we try to delete a record, and 2) when we open an attachment to preview it.

Can anyone help us do the following via CSS/HTML coding: 1) stop the confirm popup from appearing when clicking on delete to remove a record from a table (and just delete the record without confirming) and 2) instead of previewing attachments in a popup window, have the attachments appear in a separate tab when the attachment link is clicked.

Thanks in advance!!