title: Dialog does not appear
body: <p>I use following code:</p>
  
  <pre><code>public class Settings extends Activity implements OnClickListener {
  
      private Activity activity;
      private AlertDialog.Builder builder;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          this.requestWindowFeature(Window.FEATURE_NO_TITLE);
          setContentView(R.layout.settings);
  
          Button bAdd = (Button) findViewById(R.id.bAdd);
          bAdd.setOnClickListener(this);
  
          activity = this;
          builder = new AlertDialog.Builder(activity);
          builder.setMessage("message")
             .setTitle("title");
  
      }
  
      @Override
      public void onClick(View v) {
          // TODO Auto-generated method stub
          switch (v.getId()) {
          case R.id.bAdd:
              AlertDialog dialog = builder.create();
              break;
          }
  
      }
  
  
  }
  </code></pre>
  
  <p>But for some reason my popup doesn't appear and does nothing at all.. Any ideas on what is causing this malfunction? Thanks!</p>