This should be the final stack in the entire roles project. This is the client-side logic for web to handle role deletion. Per the designs, the warning message is the same as on native, with
either a generic deletion message if nobody is assigned the role or a more specific one if members have this custom role.
Depends on D8624