I create dialog by publishing "ALF_CREATE_DIALOG_REQUEST" Topic. After close the dialog I want to do some action. Now I use ALF_DIALOG_MOVE_STOP to track that event. But this event occurs also when moving dialog window. But I need my action to start only after closing dialog window.
When you submit your publication to ALF_CREATE_DIALOG_REQUEST, you need to include in the payload of the publication the necessary widgets to handle any "OK" or "Submit" actions, i.e. buttons which themselves send the appropriate publication that then triggers your intended action in the service registered to that publication topic. Ideally, you should never think in the callback-heavy "onXY" way, only in the message-based communication way...
Thanks for cancelPublishTopic, I thought that it only applies to the Cancel button in the dialog window. I have a data update tied to the closing of the dialog box, and not to what the user does in the dialog box.