How do we dynamically send a message to Dashboard2.0 UI

dialogs landed in 1.18