Popup dialog for add link and edit link.