prevent click handler trigger when dragging the link and ignore drops on the element that triggered the dragging