fix(select): auto-select new option that is marked as selected

When adding a new <option> element, if the DOM of this option element
states that the element is marked as `selected`, then select the new
<option> element

Closes #6828

This is a new PR based on a wrong merge done at #7136