I've managed to make a small code snippet where you have a text box and a text edit box. And a small button next to it, which when clicked gives a new set of text edit boxes to add values to.
Some screenshots:
Initial viewInitial view
On clicking the "+" buttonOn clicking the "+" button
Please feel free to use the snippet in your add-ins/modal windows when you want to dynamically get user inputs!
Best Regards,
Syamanthaka (smbk@novozymes)