title: Magento: Using a product chooser widget when creating a custom form in the admin panel
body: <p>I am developing a Magento (1.7.0.2) module that has its own management area in the admin panel.</p>
  
  <p>This area contains a form to update some settings which includes a text field to enter a product ID. Instead of this text field I would like to use a product chooser widget because checking for the right product ID and then manually entering the found ID in the form is a pain in the a**.</p>
  
  <p>Currently the code for the mentioned text field looks like the following:</p>
  
  <pre><code>$fieldset-&gt;addField(
      'product_id', 
      'text', 
      array(
          'label'     =&gt; $helper-&gt;__('Product'),
          'class'     =&gt; 'required-entry',
          'required'  =&gt; true,
          'name'      =&gt; 'product_id'
      )
  );
  </code></pre>
  
  <p>Is there an easy way to display a product chooser widget instead of the textfield?</p>