heres parts of a dialog i made:

Code:
  button "Add", 6, 220 30 23 12
  button "Remove", 7, 220 45 23 12
  edit "", 21, 122 20 95 10
  list 22, 122 32 95 34, size vsbar
}

on *:dialog:blaway:sclick:6: { did -a $dname 22 $did(21) | did -r $dname 21 }

on *:dialog:blaway:sclick:7: { did -d $dname 22 $did($dname,22).sel }


this is part of an away script
it adds reasons to the list box
How would i go about somehow saving the list, so that next time i open the dialog, its still there in the list box ?
Would i have to add and remove them from a txt file as i click the add and remove buttons, or is there a way to directly load up the list.