Allowing editing of exisint links in popup dialogue