Hi. I'm new to this myself and hope you receive a fuller response than I can supply. But, in the meantime, could you not show the input panel five times? It would happen so quickly that it would seem like a continuous dialogue to the user.
You would probably need a simple counter variable to track the five (consecutive) responses. And you might set this counter to zero in the on_cancel event. That is, if they press Escape at any point the whole dialogue is abandoned. I think you might also need to use a timeout (set_timeout) in the 'on_done' event, before displaying the next panel. That is, there needs to be a slight delay before showing the panel again, otherwise the on_done event might still be running.
The Find in Files features seems to display three input panels, but I gave this a quick go and I'm not sure that we can show more than one at a time.
Alternatively, I believe the output panel can be editable. However, as it is intended for output, it may prove tricky to manage for input(?).
Hopefully someone with *knowledge *will contribute