give candy when close dialog.