GAS provides some interactivity with a sheets and docs out of the box, in the form of
msgBox and inputBox. You can use these to get information back from the user when running
scripts, or as checks to make sure they have selected the correct row.
Best to see how Google do it: