For a Text control, you should use ctrlText instead of lbText.
Also, dont forget that as soon your dialog is closed, these values are lost. You should assign them to a variable BEFORE closing the dialog.
Hope it helps
EDIT
I just saw that you called it from inside the dialog. Good. So the only problem I can see is the lbText that should be for listBox controls.
Cheers