This Fixes #1054

Changed the logic of creating urls and used ui_utils.url_maker('edit.html').
I never knew this was there, its really the best way to such operations.