Remove the userdata parm from dialog_clicked callback