Load widget name from config.
Remove old code from dialog provider.