edit and add link in modal window