title: How can I replace an alert box with a dialog box?
body: <p>How can I change the alert box into a jquery dialog box?</p>
  
  <p>Part of the script coding:</p>
  
  <pre><code>  if(answeredAnsData.length==8){
              for(var x=0;x&lt;8;x++){
                  $('#text'+(x)).attr('disabled','disabled');
              }
           window.alert("test"); //alert box here
          }
      });
  </code></pre>