Does itemData update after submitting input to dataset?

It is always better to see the whole code and not just some code-parts.

And what is that “window” you talking about?

I have another window that opens on click for the specific comment, and the “subject” and “comment” are linked to the dataset manually:

When you are describing your PROJECT-SETUP, please always do it in detail by using the right names for the related elements.

MULTISTATE_BOX
HTML-COMPONENT-
REPEATER
DATASET
COLLECTION/DATABASE
INPUT-ELEMENT
DROPDOWN
LIGHTBOX
…and so on…

So one more time the question —> what is that other window?