Clicking again on the share control closes it. Fixes #471