The live demo presents how native Oracle APEX item quick picks can be transformed into an item context menu.
The live demo shows how to open a modal page in the context of the report row. To invoke the row menu click on the icon in the first column or right-click on a row.
The live demo presents how the report header checkbox can be enhanced with additional functionality. Click on the icon next to the header checkbox to invoke the context menu. Selected rows are shown while paginating the report.
Here we added a context menu to a standard button. If you open an emp dialog from it and close it afterwards you will see the event catched here:
You closed the dialog!
Add a dynamic action of type "Dialog Closed". Set "Selection Type" to "JavaScript Expression" and set it to "window".
To listen to a specific modal page to be closed add a "Client-side Condition" of type "JavaScript expression". Add following code referencing your desired Page ID: "this.data.dialogPageId == 1195".