init layer combo in WidgetFactory

povide hooks to extend layer dialog
cleanup
cleanup