# La finestra modale del flusso di lavoro deve essere chiusa in ogni scheda di Discourse

**URL:** https://meta.discourse.org/t/workflow-modal-must-be-closed-in-every-discourse-tab/410129
**Category:** Bug
**Tags:** fixed, workflows
**Created:** [15 Agosto 2026, 1:41pm UTC](https://meta.discourse.org/t/workflow-modal-must-be-closed-in-every-discourse-tab/410129 "2026-08-15T13:41:00Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [17 Agosto 2026, 3:13pm UTC](https://meta.discourse.org/t/workflow-modal-must-be-closed-in-every-discourse-tab/410129/4 "2026-08-17T15:13:06Z")

</div>

Grazie per la segnalazione @per1234 👍

Verrà corretto da

> <https://github.com/discourse/discourse/pull/42651>
>
> Previously, the workflows "Modal" step showed its modal in every tab the target …user had open: answering or dismissing it in one tab left stale copies open everywhere else, and acting on a leftover copy surfaced a misleading "not found" error, since a response token can no longer be matched once its execution has resumed.
> 
> This change tags every shown modal with a unique id and broadcasts a \`close\_modal\` message on the user's channel whenever the modal is answered or dismissed, closing the remaining copies in all tabs; a response from a leftover copy is now acknowledged as already handled instead of erroring.
> 
> Reported at https://meta.discourse.org/t/410129

---

_[View the full topic](https://meta.discourse.org/t/workflow-modal-must-be-closed-in-every-discourse-tab/410129)._
