Fix edit dialog url