handleOpenTypeManager = ({type, paramObject = {}}) => {

  // either 'manage-edge-types' or 'manage-node-types'
  const mode = type.match(/tmap:tm-(.*)/)[1];

  if (mode === 'manage-edge-types') {
    var topic = 'Edge-Type Manager';
    var allTypesSelector = $tm.selector.allEdgeTypes;
    var typeRootPath = $tm.path.edgeTypes;
  } else {
    var topic = 'Node-Type Manager';
    var allTypesSelector = $tm.selector.allNodeTypes;
    var typeRootPath = $tm.path.nodeTypes;
  }

  const args = {
    mode: mode,
    topic: topic,
    searchSelector: allTypesSelector,
    typeRootPath: typeRootPath
  };

  const dialogTObj = $tm.dialogManager.open('MapElementTypeManager', args);

  if (paramObject.type) {
    handleLoadTypeForm({
      paramObject: {
        mode: mode,
        id: paramObject.type,
        output: dialogTObj.fields['output']
      }
    });
  }

}
@param {string} type - event.type
@param {Object} [paramObject] - event.paramObject