# Sequential order of events, modal panels/groups within a screen

**URL:** https://community.thunkable.com/t/sequential-order-of-events-modal-panels-groups-within-a-screen/2591371
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [September 12, 2023, 4:19pm UTC](https://community.thunkable.com/t/sequential-order-of-events-modal-panels-groups-within-a-screen/2591371 "2023-09-12T16:19:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![parksnarq](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@parksnarq](https://community.thunkable.com/u/parksnarq)
#### Post date: [September 12, 2023, 4:19pm UTC](https://community.thunkable.com/t/sequential-order-of-events-modal-panels-groups-within-a-screen/2591371/1 "2023-09-12T16:19:08Z")

</div>

Trying to create reusable “yes/no” group/panel within a screen for tasks that require confirmation; having trouble in this paradigm. In my thinking, re. an "on-event-click button for doing a thing, in order:

1. When the button-click-event triggers,
2. group/panel with the original event button disappears (visible=false),
3. yes/no (with yes and no buttons) panel visible=true,
4. yes or no button pressed,
5. maybe set a flag (for yes),
6. yes-no panel visible=false, original panel visible=true,
7. …but then what? Everything fine up to this point, but then how do we then **return** to the initial/triggering block and process the yes/no flag set by the yes/no panel buttons? What’s the “right” way to do this in Thunkable?

If I’ve got 5 different operations that require user confirmation, I just want to reuse a single feature to get it.

_Thanks much!_

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [December 11, 2023, 4:19pm UTC](https://community.thunkable.com/t/sequential-order-of-events-modal-panels-groups-within-a-screen/2591371/2 "2023-12-11T16:19:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
