Feature #5592: Refactor Callback bindings for Pluginx
Feature #5592: Add js wrapper for agentManager.dialog