Wait for access dialog before clicking.