Modal prompt with two input text fields?

Is there any way to create a modal prompt with two or more input text fields?
I tried that code, but it didn’t work for me :

myApp.prompt("Please enter Sodium and Chloride values to continue.", "Alert", function (sodium, chloride) {
		...
});