Adding automatic data binding in model widget