The UI has 4 radio buttons and 4 editable text input fields. The editable fields have a default value "Edit Text". The objective is that the user enters a custom value in the text input field and runs the script.
1) Can a jsx script remember the last text input value used so that the next time the UI dialog runs the value appears in the text input field?
2) Allow the user to reset the dialog text input field to the default value.
3) What are the jsx functions that allow this behavior?
The idea is:
if the text input value is not equal to the default value,
the new text input value becomes a temporary variable,
the temporary variable becomes the default text input value,
then the user clears the temporary variable,
if the temporary variable is empty,
the script returns to the default text input value
