My approach to that problem was to display input fields in my modal window, and after creating the dialog, bind event listeners to each, storing the values in the global space as the user updated them. Then in the promise after the user clicked the submit button on the popup, grab that global object and
https.post() it to the processing suitelet, which would then redirect the user back to the original (main) suitelet.