# Triggering FS Cookie Consent Preferences within an Attributes Modal

**URL:** <https://forum.finsweet.com/t/triggering-fs-cookie-consent-preferences-within-an-attributes-modal/2821>\
**Category:** General\
**Created:** [April 25, 2024, 5:03pm UTC](https://forum.finsweet.com/t/triggering-fs-cookie-consent-preferences-within-an-attributes-modal/2821 "2024-04-25T17:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/matthias/32/347_2.png) [@Matthias](https://forum.finsweet.com/u/Matthias)\
**Post date:** [April 25, 2024, 5:03pm UTC](https://forum.finsweet.com/t/triggering-fs-cookie-consent-preferences-within-an-attributes-modal/2821/1 "2024-04-25T17:03:42Z")

</div>

Hi,

For a [client project,](https://mep24.webflow.io/funktionen) I am using the Attributes Modal, which contains a YouTube video.

The video only gets loaded if the user accepts cookies.

If the user does not accept cookies, the modal shows a message asking the user to change cookie settings.

However, the modal prevents the link with the applied “fs-cc=open-preferences” from working.

Any idea on how to solve this? The modal should close AND open the cookies menu.
