Update convert function to honor 'embedded' option for select control.