refactored jPicker so that one popoup controls all the inputs