Chanhe settings dialog template to only show widget name if the dashboards is a widget. Add widget name validation to settings dialog.