I am showing a text box on a dialog and want to send that text back to the scene that opened the dialog.

I know that I'll need to use a callback somehow, but don;t see an example of using a callback with showAlertDialog().

Anyone?