Improved location add/edit UI [fixes #51488183]