added ability to hide the picker on blur