Try accessing function in the dialog.