programtic replacements for Alert and Confirm in React