Retain keyboard focus after closing the dropdown.

Fixes #46.