title: Yii CJuidialog that is opening automatically, before click
body: <p>have a problem where I'm trying to create popup text boxes when a user clicks on a question mark icon.  However, for some reason, the popups are showing up as soon as the page is loaded.  I have the following code in my view.  I've tried changing auto-open to false, but then the link won't open the dialog box at all.  Thanks very much for the help!</p>
  
  <pre><code>             &lt;?php $question=CHtml::image(Yii::app()-&gt;request-&gt;baseURL. '/images/question_blue.ico'); 
                  echo CHtml::link($question, '#', array('onclick'=&gt;'$("#help").dialog("open"); return false;',)) ?&gt;
               $this-&gt;renderPartial('application.views.profile.helppopup');  
  </code></pre>
  
  <p>And the following code in my dialog box ("help")</p>
  
  <pre><code>&lt;?php 
  $this-&gt;beginWidget('zii.widgets.jui.CJuiDialog', array(
  'id'=&gt;'help',
  // additional javascript options for the dialog plugin
  'options'=&gt;array(
      'title'=&gt;'Help',
      'autoOpen'=&gt;true,
      'width'=&gt;'350px',
      'height'=&gt;'450',
      'resizable'=&gt;false,
  ),
  ));
  </code></pre>