I have a Geoprocessing service (written in Python) used in a WebAppBuilder application (Geoprocessing widget). For a GPFeatureRecordSetLayer parameter the drawing tools work well, but when the Escape key is pressed I would like to undo the last vertex digitised rather than delete the complete shape. I am fairly proficient in Python, but less so in JavaScript/widget customisation. Any advice welcome.