I haven't tested it but knowing you i'm sure it will work.
If i'm understanding this corrent this will have in case of more then 1 query request also have more dialogs open.
If that is true is there a way to hide the dialogs from the second and third and so on request until the one infront of them is closed?
like:

request 1 open - request 2 and 3 hidden
request 1 closed and request 2 opens - request 3 stays hidden
request 2 closed and request 3 opens and so on in case of more requests

or is there a way to get more info into an $input like
the message and the channel other then using the combobox?