When creating a web content using AlloyEditor, add an image with a link, the bar does not disappear upon entry. The user has to deselect the image.
Steps To Reproduce:
1. Create a Web Content in 'Menu' > 'Site Menu' > 'Content' > 'Web Content'
2. Type text and insert an image with Alloy Editor
3. Add a link to the text using link bar > link icon > "http://www.liferay.com". Note upon submitting link the link bar disappears.
4. Add a link to the image using link bar > link icon > "http://www.liferay.com". Hit enter or click the checkmark to submit link.
Expected result :
Options bar disappears. The same behavior when adding link to image as adding link to text.
Current result :
Options bar remains open.
Reproduced - 5f83e5388440ba7177ce424f5b9e1fc28ab99bb7
Reproduced - 088abef06d7bb6b3edad7372b41a4c5c45fee477