switch to bounding box if reset button clicked

reset/reset all buttons will switch to a bounding box if clicked and
also clear the spatial extent. also solves the problem of having
"[object Object]" in the bounding box picker after clicking reset all
(#1457)