I don’t know if you mean this, but this is a way to access values from an external class.
ShowFirst(Agent:?agent):void=
set CurrentDialog = 0
if(Popup := Dialog[0]):
Popup.ShowDialog()
GetResponse1:= Popup.Binding1 # this way you can get into them
GetResponse2:= Popup.Binding2
ShowDialog := dialog{}
ShowDialog.Shown()