fix problem where show/esc followed by another show/esc would not hide
the picker