differentiate dropbox and selectbox