sjanota: Obtain value from dialog box