just an example:
dialog name {
size -1 -1 160 160
option dbu
button "Ok",1, 140 150 20 10,ok
list 2, 1 1 100 100
}
u put that in the remote.
then, u want to load the file.txt into the list of that id,
u open the dialog with /dialog -m name name
and then type /filter -fo file.txt name 2
that's it.