title: JQuery UI - Cannot change month/year in datepicker within Modal Dialog
body: <p>Using <strong>Datepicker</strong> inside a <strong>modal Dialog</strong>, don't work the <strong>Change Month/Year</strong> dropdown in Firefox 19.0.2 see:</p>
  
  <p><a href="http://jsfiddle.net/469zV/2/" rel="nofollow noreferrer">http://jsfiddle.net/469zV/2/</a><br/><br/>
  <strong>HTML</strong></p>
  
  <pre><code>&lt;div id="dialog-form" title="test" style="display:none"&gt;
    &lt;form&gt;
       &lt;fieldset&gt;
          &lt;p&gt;Date1: &lt;input type="text" id="datepicker"/&gt;&lt;/p&gt;  
       &lt;/fieldset&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>SCRIPT</strong></p>
  
  <pre><code>$( "#dialog-form" ).dialog({
      modal: true
  });
  
  $("#datepicker").datepicker({
      changeMonth: true,
      changeYear: true
  });
  </code></pre>
  
  <p>After search a lot can find some info about this problem but nothing about solution:</p>
  
  <p><a href="http://bugs.jqueryui.com/ticket/8989#no1" rel="nofollow noreferrer">http://bugs.jqueryui.com/ticket/8989#no1</a></p>
  
  <p>How do I solve this?</p>