When addNotificationListener is going to notify when duplicated document from Arrange menu is closed

When created a new window from arrange menu there’s not batchPlay to listener when close one of the same document

I close one of the window and nothings happening when use the addNotificationListener it fires nothing.

What’s your code to listen for events?

In order to see if the option existed I am using this as general

const eventHandler = (event, descriptor) => console.log(event, descriptor)
require(“photoshop”).action.addNotificationListener([‘all’], eventHandler);

so nothing happen/

Someone has information about it?