NOTE: Click on save button to save the widget defintion