Opening new Tab in Camunda Modeler using client extension

I am developing a plugin registered as client extension to Camunda Modeler, the plugin works as react component having BPMN XML files, where user can open xml files directly from the plugin itself. however, I am unable to identify when user clicks on the file, how the xml can be opened in a new tab section of the camunda modeler?