adding ability to save configuration from a widget