handle editing richtext block html source in a react-bootstrap modal