adding selected options as select box rather than a text