use a single page for editing and adding object details, and rename it
to modify_object.html.ftl
Change the hardcoded template name in the relevant places

TODO: make these template names into constants and/or configurable
properties