Transformed '$dialogs' in a provider

Transformed '$dialogs' in a provider. Now you can configure the default
labels for the buttons.