Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a String containing the ...