title: How to wait until an element exists for dojo?
body: <p>In dojo, is there a way to get notified when an element of certain class (or contain certain text) has been created?</p>
  
  <p>There is an almost exactly the same question asked in <a href="https://stackoverflow.com/questions/5525071/how-to-wait-until-an-element-exists">here</a> for jQuery. But I'd like to know if there is a similar solution for dojo. Thank you!</p>