---
title: "Feature: #73720 - Trigger event after modal window dismissed"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-73720"
source: "Changelog/8.0/Feature-73720-TriggerEventAfterModalWindowDismissed.rst"
typo3-version: "8.0"
typo3-major: 8
type: "feature"
issue: 73720
forge: "https://forge.typo3.org/issues/73720"
tags: ["Backend", "JavaScript"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #73720 - Trigger event after modal window dismissed {#feature-73720}

See [forge#73720](https://forge.typo3.org/issues/73720)

## Description {#description}

A new event `modal-destroyed` has been added that will be triggered after a modal window closed.

## Impact {#impact}

Bind to the event `modal-destroyed` to achieve custom actions after the modal
has been dismissed.

Example code:

```javascript
var $modal = Modal.confirm(); // stub code
$modal.on('modal-destroyed', function() {
	// Reset the selection
	$someCombobox.val('');
});
```
