AlertDialg를 닫고 메소드 콜해서 해당 action을 취하고 싶은데 AlertDialog가 지워지지 않습니다.
어떻게 하면 지워질까요??

AlertDialog를 두개 열었습니다. 두번째 AlertDialog가 사라져야 되는데 안사라집니다. ㅠ

@Override
   protected Dialog onCreateDialog(int id) {
 switch(id)
 {
  case DISPLAY:
   return new AlertDialog.Builder(this)
         .setTitle(null)
         .setItems(R.array.items, new DialogInterface.OnClickListener()
         {
             public void onClick(DialogInterface dialog, int which)
             {
              switch(which)
              {
              case 0:  // on
               new AlertDialog.Builder(T.this)
                .setTitle(null)
                .setItems(R.array.items, new DialogInterface.OnClickListener()
                {
                 public void onClick(DialogInterface dialog, int which)
                 {
                  switch(which)
                  {
                  case 0: 
                   dialog.cancel();
                   selectA();
                   break;
                  }
                 }
                 }
                })
                .show();               
               break;
              }              
             }
         }).create();  
   
  }// switch(id) - end  
     return null;
    }