
I am trying to use Modal Component as a form to enter additional notes with sensitive information visible only to the person who entered them.
I created a tile to display a list of the notes, mirroring the standard Notes tile in NXT, but I am having some problems with the Modal Component.

First, when there is no notes in the data warehouse, the tile is condensed to look like this:

The problem is that the Modal Component opens only within the Add-in and while it temporarily expands the tile to fit the modal window in, it immediately shrinks the tile back to the condensed size and it looks like this:
I tried using fullPage option for the modal, I tried using sky-page with min-height: 500px within the tile, but it doesn't work - the tile size adjusts to the amount of content. Is there a way to force a minimum height of the add-in tile? Alternatively, is there a way to open a modal window outside the Add-in tile without building it as a separate Modal Add-in SPA?

Anyway, for now I went around it and forced the tile to be taller by adding few br tags when (*ngIf) there are no notes to display and when Add Note is clicked.
At that point I can display the form within the modal window.

I followed the example on the website, have a public instance: SkyModalInstance in the constructor, button Save in the sky-modal-footer is calling instance.save() on click.
However, I am unable to capture the result from Modal instance.


I am not even trying at this point to capture the content of the form within the modal window, but when I close the modal window, whether by clicking Cancel or Save, I don't get the alert and the tile doesn't condense, which means the addingNote flag for the html part remains true.
What am I doing wrong here?