Simple dialog for entering string to be used in button command?

Is there a directory opus command to show a simple text entry dialog, and use the entered text in a button command.

Have no problem writing a JScript detached dialog, just wondered if there was a quicker way.

{dlgstring}

Awesome. Many thanks.