compare string inside windows.alert
<p>This might be a dumb question, but considering the following semi-pseudo code.  How do I compare the string in windws.alert?</p>

<pre><code>var alertCalled = false;
// I'm having trouble with the following line
if (windows.alert().text == 'specific string') {
    alertCalled = true;
}
</code></pre>

<p>Thanks.</p>
