add "Fill Activites Dialog" function