populateModel function

Update of populateModel function for radios input.