title: Access CQ Widget in Dialog's loadContent
body: <p>I have listener on dialog's loadContent and I want to access particular widget from it. Below is the code : </p>
  
  <pre><code>loadContent : function(dialog)
  {
      var pan1 = dialog.findById("layout1");
      pan1.hide();
      console.log("pan1 ::: "+pan1); //gives null
  }
  </code></pre>
  
  <p>Below are the items in dialog :</p>
  
  <pre><code>&lt;items
          jcr:primaryType="cq:Widget"
          xtype="tabpanel"&gt;
          &lt;items jcr:primaryType="cq:WidgetCollection"&gt;
              &lt;panel1
                  jcr:primaryType="cq:Panel"
                  title="Slide"&gt;
                  &lt;items jcr:primaryType="cq:WidgetCollection"&gt;
                      &lt;one
                          jcr:primaryType="cq:Widget"
                          fieldLabel="one"
                          itemId="layout2"
                          name="./one"
                          type="checkboxgroup"
                          xtype="selection"&gt;
                          &lt;options jcr:primaryType="cq:WidgetCollection"&gt;
  
                          &lt;/options&gt;
                      &lt;/one&gt;
                      &lt;two
                          jcr:primaryType="cq:Widget"
                          fieldLabel="two"
                          itemId="layout1"
                          name="./two"
                          type="checkboxgroup"
                          xtype="selection"&gt;
                          &lt;options jcr:primaryType="cq:WidgetCollection"&gt;  
                          &lt;/options&gt;                      
                      &lt;/two&gt;
                  &lt;/items&gt;
              &lt;/panel1&gt;
          &lt;/items&gt;
  </code></pre>
  
  <p>And i want to hide particular selection with option on specific condition. So firstly need to access checkboxgroup. Any Idea?</p>