title: How to deal with ModalDialog using selenium webdriver?
body: <p>I am unable to switch to Modal Dialog of given example</p>
  
  <p><a href="http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/showModalDialog2.htm" rel="noreferrer">http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/showModalDialog2.htm</a></p>
  
  <p>I don't know how to get element on modal Dialog </p>
  
  <p><img src="https://i.stack.imgur.com/d3skb.jpg" alt="enter image description here"></p>