Do the new dialogs store text inputs?

im extremely new to the dialogs introduced in 1.21.6 and im creating a few that use text inputs where the player inputs values into the text boxes. The thing is I'm trying to find where these values are so I can store that in a scoreboard. How does one achieve this?
Continue to help post