or add the result property to the editbox whose value will be returned once the dialog is closed. see the help file for more info on the result property.