If you want to have this delete action from a datagrid I would use a microflow to show a yes/no form with 2 buttons and 2 further microflows (1 for the delete+close form and 1 for the close form)attached to the buttons. As you're not able to pass the selection in the grid to the microflows of the confirm microflow widget. In a dataview you could use the confirm microflow to do the safe delete, as there you are able to pass the object, but the other method as described for the grid works as well.