refactor opps editor select button