Button link modal doesn't close
Issue Overview
In the button block, the link dropdown doesn't close when you are done using it, and blocks other areas of the screen.
Steps to Reproduce (for bugs)
Gutenberg 1.7, WP 4.8.3, Windows, Firefox and Chrome
- Create a button block
- Start typing in the URL field, and the dropdown of suggested links appears
- Select a link
- Click anywhere else on the screen, and the dropdown stays there. The dropdown covers the selection of common blocks underneath it.
Expected Behavior
After you select a link, the dropdown should go away. Or maybe it should go away after you click the "Apply" button. Or maybe there should be an "X" so you can choose to close it, or it should close when you click outside it. There needs to be some way to make that dropdown go away.
Current Behavior
The dropdown stays there until you click in another block. If the button is the only block you have, then it's hard to add a new one because the dropdown covers up the common block suggestions.
Possible Solution
This should be consistent with the behavior of other pop-ups and modals.
Screenshots / Video

Related Issues and/or PRs
Todos
- [ ] Tests
- [ ] Documentation