updated controller to load widgets that can be disabled