code: function showAlertDailog(){
          var strHtml = '<ul><li><label>'+__('dialog_alert_option')+'</label><select id="alertOption"><option value="accept">'+__('dialog_alert_option_accpet')+'</option><option value="dismiss">'+__('dialog_alert_option_dismiss')+'</option></select></li></ul>';
          var domAlertOption;
          showDialog(__('dialog_alert_title'), strHtml, {
              onInit: function(){
                  domAlertOption = document.getElementById('alertOption');
              },
              onOk: function(){
                  var alertOption = domAlertOption.value;
                  saveCommand(alertOption+'Alert');
                  hideDialog();
              }
          });
      }
docs: 文字对话框