AddCandidateDialog and listener created