Handling pop up in selenium webdriver