In coordinates widget exb\1.13\client\dist\widgets\arcgis\coordinates\src\runtime\widget.tsx,
after you click on the leftside "+", each map click will display the point's coordinates.
The original code is in "if (canShowClient)" in async function onMapClick (line 392).
I need to present a modal dialog (e.g. with something in it, e.g. radio buttons) just before displaying the coordinates, i.e. just after "if (canShowClient)".
From Jeffrey Thompson2 I learned that "esri way" is to import { Modal, ModalBody, ModalHeader } from 'jimu-ui',
as done in a few other widgets, but I don't yet know how to actually code it in coordinates widget.
Help will be greatly appreciated.
(this is a much more "focused" wording of my previous general question)