---
title: "Discussion on \"How to Fire a Close Event on Dialog X Button Click\" | Hashnode"
description: "Discussion on \"How to Fire a Close Event on Dialog X Button Click\". By default, the X button on dialog pages cancels and closes the dialog when clicked. Today, I came across a situation where I needed to trigger a dialog close dynamic action on the parent page whenever the dialog is closed. However, I can't rely on u..."
url: "https://hashnode.com/posts/how-to-fire-a-close-event-on-dialog-x-button-click/67b5b44a776c0a5d8f7a64ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Fire a Close Event on Dialog X Button Click](https://apexblog.dev/how-to-fire-a-close-event-on-dialog-x-button-click?utm_source=hashnode&utm_medium=feed)

By default, the X button on dialog pages cancels and closes the dialog when clicked. Today, I came across a situation where I needed to trigger a dialog close dynamic action on the parent page whenever the dialog is closed. However, I can't rely on u...

Feb 19, 2025 · 2 min read · apexblog.dev  
Read the article

-   [#modal-dialog](https://hashnode.com/tag/modal-dialog)
-   [#oracle-apex](https://hashnode.com/tag/oracle-apex)

## Written by

[Rodrigo Mesquita](https://hashnode.com/@mesquitarod)

@mesquitarod · United Kingdom

  
[View profile](https://hashnode.com/@mesquitarod)

Senior Oracle APEX Developer

Rodrigo is a Oracle Technical Senior Consultant at Namos Solutions. He is an experienced software engineer with emphasis in analysis, design and development of bespoke Oracle applications utilising development tools such as APEX, PL / SQL, jQuery, javaScript, CSS and JSON for a variety of international businesses. Rodrigo speaks regularly at Oracle community events and enjoys creating APEX plugins and writing blogs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
