Add a search to program cohorts

To stop sauce from failing try and look for the dialog to be open.