you need to
on *:dialog:newdialog:sclick:buttonid: /did -a olddialog listid linenumber
to add the text into the list.
then
on *:dialog:dialogname:sclick:8:did -d name id $did(listid).sel
to delete the selected line from the listbox
finally i would suggest
on *:dialog:dialogname:sclick:12:set %popconnect ON

followed by an on connect if %popconnect == ON /dialog etc.
sorry for the vague reply but its bedtime, ninite.
wink


billythekid