Reset focus to the default element (<body>) when closing the dropdown.

Fixes issue #1654.