title: Ext Prompt show value entered on re-prompt
body: <p>I have the following function using the Ext message box prompt:</p>
  
  <pre><code>var prompt = function () {
          Ext.Msg.prompt("Number", "", function (btn, text) {
              if (btn == "ok") {
                  if ((![0-9][2-8]$/.test(text)) &amp;&amp; (!/^[2-9].test(text))) {
                      alert("Please enter a valid number");
                      prompt();
                  } else {
                      });
                      // success code  }
                          }
                      });
                  }
              }
          });
      };
  </code></pre>
  
  <p>This works exactly the way I want it EXCEPT it doesn't display the text entered in the text box when re-prompted on fail. Is there a way to pass in the 'text' variable into the re-call of the prompt function? Or does this just need a total re-architecture? What I'd like is the "please enter a valid number" alert to appear and then have the prompt display again with the already entered text.</p>
  
  <p>Thank you!</p>