title: How can i trigger event in onlyoffice
body: <p>I am using Onlyoffice 5.0.3. I have altered Onlyoffice code for adding new menu under file menu shown in below image</p>
  
  <p><a href="https://i.stack.imgur.com/2LDFq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2LDFq.png" alt="enter image description here"></a>
   and i have added action script also.</p>
  
  <pre><code> case "approval":{       
        Common.UI.custom({
             closable: false,
             title: "Confirm",
             msg: "Are you sure, do you want to confirm the Approve",
             buttons: ["approve","reject"],
             primary: approve,
             iconCls:"warn",                        
             callback: _.bind(function (e) {                   
                  if(e=="approve"){
                   // here i want to trigger event which is given in docEditor Api.
                  }  
                  else{
  
                  }
             }, this);
       })
       break;
   }
  </code></pre>
  
  <p>my problem has to trigger an event which is given in docEditor API.</p>