OnClick processing for Inline Custom field to call Modal dialog

I have a Forge App, where I’m going to create a Custom field that will open a Modal window that will be further rendered with Custom UI. Assuming all Custom field editing will be Inline soon, what is the best way to approach that? To be more specific, please help to

  1. Define a correct .yml - should I keep ‘edit:’ section in ‘jira:customField:’ module? if yes, should it contain isInline?
  2. How to trigger the modal window? E.g. from which yml function is it done? is this function in backend or frontend? What actually processes OnClick action?

Found the reply by myself. Require part of the yml:
modules:
jira:customField:
- key: …

type: object
formatter:
expression: “${value.name}
readOnly: false
resource: uikit.js //file in root src that runs export const runView = ForgeReconciler.render(); and View.js contains all the rendering
render: native //only native supported
edit:
resource: editor //react component that will orchestrate all edit actions happening with the component, e.g. const modal = new Modal(…) etc.
isInline: true //advise to include as will be mandatory soon
resolver:
function: resolver //required to call backend functions

resources:

- key: modal-dialog //to be called from editor react app
path: static/modal-dialog/build