Click an activity without knowing if dialog box appears or not

Use the element exist activity, in properties set WaitForReady as “Complete”
then use if condition to check whether the dialog box exists or not…