Modal Widget as Input

hello,
I would like to use an Modal as a pure text-input;
click > open > write > enter > close
... how can i get the focus directly on the input-widget when the modal opens?
thank you

You can't do that currently.

currently ... sounds good .. i'm hopefull :wink:

I added a setFocus() to allow giving focus to an input widget from scripts.