Before this commit, when clicking on an image which is in a link, both the link edition dialog and the image edition dialog were opened. Now only one opens.