Explore Dialog: Replace add hoc functions with the new DialogAction class