handle submission of selected select