gallery-sm-editor: dont update selection on render.

cant create a range if the editor isnt yet in the DOM.
build gallery-sm-editor