Make it work again

Make addMapFeature.js less tree-specific
* Factor out tree-specific logic into addTreeMode.js
* Pass in `sidebar` rather than $sidebar so it can work for other sidebars

Also:
* Enable/disable first "Next" button