Changes for dialog in link

as per the comment made the changes in the link.coffee file.