Use the same endpoint name in dialogue app and UI for send action

At the moment, the app uses the delivery class name and the UI uses its label.