[forge] When open modal from jira:issueContext the iframe height is 16px for some reason

const createModal = (payload: unknown) => {
  const modal = new Modal({
    resource: "main",
    size: "large",
    context: payload,
  });

  modal.open();
};

But when I open modal from the jira:issuePanel the iframe dialog has full dialog height:

Could someone of the Atlassian staff help because there is a huge problem, it prevents to use of modals

cc @AtlassianSupport @atlassian

Resolved the issue by adding viewportSize: large to the manifest.

Found the second bug. You can see that the inner container of the dialog is bigger than the parent (outlined one). I did not add any additional styles, all the above containers are outside the frame and uncontrolled by the app code.
The issue is not critical but it makes the dialog a little bit ugly