dlg_input function

Modal dialog to input a string or a value.