How a Dialog window can modify JS in the parent window
<p>I have a site that opens a dialog. In that dialog I want to be able to modify a JS value in the parent window. The sites are at the same domain.</p>

<p>in the parent I can do:</p>

<pre><code>currentUserModel.guest(false)
</code></pre>

<p>In the dialog, how can I do currentUserModel.guest(false)?</p>

<p>Right now if I try I get:</p>

<pre><code>Uncaught ReferenceError: currentUserModel is not defined
</code></pre>

<p>Thanks</p>
