title: Can't click on element in modal using Nightwatch
body: <p>I am writing some tests using Nightwatch, and I am at the very end of my test and I have 1 issue I can't figure out. I have a button to submit something, and then when they click submit, a modal pops up asking them if they are sure. I am trying to click "Yes, I am sure" but Nightwatch isn't finding the element. Below is my code.</p>
  
  <p>Click on Submit Button (This works)</p>
  
  <pre><code>.getLocationInView('#objective-content-intro &gt; div &gt; div &gt; div &gt; div:nth-child(4) &gt; div &gt; div:nth-child(8) &gt; div &gt; div &gt; a')
  .assert.visible('#objective-content-intro &gt; div &gt; div &gt; div &gt; div:nth-child(4) &gt; div &gt; div:nth-child(8) &gt; div &gt; div &gt; a')
  .click('#objective-content-intro &gt; div &gt; div &gt; div &gt; div:nth-child(4) &gt; div &gt; div:nth-child(8) &gt; div &gt; div &gt; a')
  </code></pre>
  
  <p>Click on "Yes, I'm sure" button (This doesn't work)</p>
  
  <pre><code>.getLocationInView('body &gt; div.sweet-alert.hiddenField.showSweetAlert.visible &gt; div.sa-button-container &gt; div &gt; button')
  .assert.visible('body &gt; div.sweet-alert.hiddenField.showSweetAlert.visible &gt; div.sa-button-container &gt; div &gt; button')
  .waitForElementPresent('body &gt; div.sweet-alert.hiddenField.showSweetAlert.visible &gt; div.sa-button-container &gt; div &gt; button', 3000, 'Click on \"Yes, submit it!\"')
  .pause(3000)
  .click('body &gt; div.sweet-alert.hiddenField.showSweetAlert.visible &gt; div.sa-button-container &gt; div &gt; button')
  </code></pre>
  
  <p>I just get an error saying it is unable to find the element.</p>