Fixed: Don't link inline image if already linked.
Fixed: Link dialog opens if double-clicked inline image which has link as one of ancestors.
Don't select link if double-clicked but event was anceled.
Code optimization: check for parent link when inline widge only.