closePicker() didn't remove the mousedown listener, so clicking the button to re-open the picker would immediately close it. Now stores the cleanup in module scope and calls it from closePicker(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>