title: How to check to see if there is a window alert?
body: <p>Is there a way to use jquery to check to see if there is an alert popup currently engaged?</p>
  
  <p>I have a form that throws an alert window if there are validation errors before submit.</p>
  
  <p>I need to run a function IF this alert window does not appear, however my script file is separate from the script file that throws the alert.</p>
  
  <p>I can't actually go in and edit the validation function, so I am trying to write a script that loads separately.</p>
  
  <p>Ideally, I'd like to run a function that says "on click of the submit button, if no alert is detected, run this function"</p>
  
  <p>Any suggestions on how to detect this alert? Thank you!</p>