implementation of "create a link by dragging tab"!