# How does the Elements CMS work together with Modals?

**URL:** <https://forums.realmacsoftware.com/t/how-does-the-elements-cms-work-together-with-modals/53669>\
**Category:** Elements CMS\
**Created:** [January 16, 2026, 3:55pm UTC](https://forums.realmacsoftware.com/t/how-does-the-elements-cms-work-together-with-modals/53669 "2026-01-16T15:55:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [January 16, 2026, 3:55pm UTC](https://forums.realmacsoftware.com/t/how-does-the-elements-cms-work-together-with-modals/53669/1 "2026-01-16T15:55:07Z")

</div>

How does the CMS work together with Modals?

Does anyone here have experience with this?

I’d like to display certain data from my CMS Collection inside a **Modal**.

The data within the Collection itself is displayed correctly. However, when I click the corresponding trigger to open the Modal, the data is not shown as expected.

Do I need to define a specific trigger ID in the Markdown file, or what’s the best way to handle this?

Has anyone here already worked with this setup?
