# Trigger in New Modal

**URL:** <https://community.weweb.io/t/trigger-in-new-modal/15396>\
**Category:** How do I?\
**Tags:** modal\
**Created:** [January 14, 2025, 1:16pm UTC](https://community.weweb.io/t/trigger-in-new-modal/15396 "2025-01-14T13:16:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![notis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/notis/32/15517_2.png) [@notis](https://community.weweb.io/u/notis)\
**Post date:** [January 14, 2025, 1:16pm UTC](https://community.weweb.io/t/trigger-in-new-modal/15396/1 "2025-01-14T13:16:14Z")

</div>

I recently realized that the popup is now legacy and we have a new popup element.

This new popup comes with a specific trigger, inside the element. So some questions arise.

1. I realized that if you put a button inside the trigger it is possible to trigger it, but this limits where we can open the modal

2. I couldn’t find an action or a way to trigger hide and show with an external button or multiple buttons  
How can this configuration be done?

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [January 14, 2025, 1:24pm UTC](https://community.weweb.io/t/trigger-in-new-modal/15396/2 "2025-01-14T13:24:13Z")

</div>

Hey @notis  
The modal component comes with Component workflows: `Toggle`, `Open` and `Close`  
They can be executed by any element in your page using the `Execute component action` 🙂

 ![CleanShot 2025-01-14 at 14.22.27](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/16262c85af93f1f09dc57c29859968a6ed33219a.png)
