Wait for element before clicking it