Renamed prompt to showInputDialog.