Fix edit link in dropdown menu