fix edit link on popup