Added a null check for geometry so that featureManager.show can be called to open a featureInfo box for a feature without having to pass in the geometry. Since the edit call will issue a wfs to get the geometry this should be safe.