controller.html now has the function for editing locations.