Use the promptConfirm util instead of manually creating a confirm prompt with inquirer. PR Close #38419