Just so I understand correctly, you have an Input Dialog activity with a multiple choice input type. When the user selects a number, you want to use more Input Dialog activities based on that number. Is that correct?
If this is the case, could you save the result and based on this number, run a loop that opens a new textbox? For example, a user selects 3 and then a loop runs 3 times opening a textbox on each iteration.
Or are you instead referring to some UI elements on a webpage?