title: Cordova web app alert box replacement being nonmodal
body: <p>In a Cordova/Phonegap web app, I have the ugly alert box replaced with the stylized HTML elements. It looks good. </p>
  
  <p>The problem is now it becomes non-modal. If there are alert messages that's coming in asynchronously, our current implementation can have serious glitches (showing two content at once with two set of <code>OK</code> button on screen.) Obviously, this is not acceptable.</p>
  
  <p>But only the original alert can be modal. What's the common solution to the problem?</p>