added prompt for prompt dialog box