Added validation message for prompt dialog.