Filter Modal closes when using filters

I have been working on a filtering system for my website. I used Finsweet’s filter attributes. They work very well but I’m having some issues on mobile. I store the filter in a modal, and when I use them, the modal is force closed. This is incredibly irritating, and I can’t figure out why it’s happening.

The attributes only work on a live site.
Here is the link to that: Shop
You should be able to see the problem if you try to filter on a mobile device.

Here is my read only link.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

have you ever found a solution for this? I’m trying to use the submit button for the mobile instance, but it acts the same way.