whitespace
Add the 'edit' and 'save' action variable on manage locations editor.

Makes it easier to start creating methods and cleaning up this mess.
Refactor manage locations save/delete actions into main action  handler loop.