dialogWithButton1Displayed

Check if a dialog with buttonTextResId as the button 1 label is displayed.