title: Show the attribute inspector without saving a new feature
body: <p>The requirement is to add a new feature from template picker but without applying it, can i show the attribute inspector than save the feature.</p>
  
  <pre><code>selectedTemplate = templatePicker.getSelected();
  </code></pre>
  
  <p>This selectedTemplate is then selected to put the points on the map than opens the attribute inspector by selecting it.</p>
  
  <pre><code>selectedTemplate.featureLayer.applyEdits([newGraphic], null, null);
  </code></pre>
  
  <p><strong>Sample Code Block :</strong></p>
  
  <pre><code>      dojo.connect(drawToolbar, "onDrawEnd", function(geometry) {  
            //display the editable info window for newly created features  
  
        if (map.infoWindow.isShowing) {  
          map.infoWindow.hide();  
        }  
  
        drawToolbar.deactivate();  
  
        var fieldAttributes = layerFieldToAttributes(selectedTemplate.featureLayer.fields);  
        var newAttributes = dojo.mixin(fieldAttributes, selectedTemplate.template.prototype.attributes);  
        var newGraphic = new esri.Graphic(geometry, null, newAttributes);  
  
        var layerInfos = [{  
          'featureLayer': selectedTemplate.featureLayer,  
          'isEditable': true  
        }];  
  
        var attInspector = new esri.dijit.AttributeInspector({  
          layerInfos: layerInfos  
        }, dojo.create("div"));  
  
        selectedTemplate.featureLayer.applyEdits([newGraphic], null, null, function() {  
          var screenPoint = map.toScreen(getInfoWindowPositionPoint(newGraphic));  
  
          map.infoWindow.setContent(attInspector.domNode);  
          map.infoWindow.resize(325, 185);  
          map.infoWindow.show(screenPoint, map.getInfoWindowAnchor(screenPoint));  
  
          templatePicker.clearSelection();  
        });  
  
        dojo.connect(attInspector, "onAttributeChange", function(feature, fieldName, newFieldValue) {  
          feature.attributes[fieldName] = newFieldValue;  
          feature.getLayer().applyEdits(null, [feature], null);  
        });  
  
        dojo.connect(attInspector, "onDelete", function(feature) {  
          feature.getLayer().applyEdits(null, null, [feature]);  
          map.infoWindow.hide();  
        });  
      });  
    }  
  </code></pre>
  
  <p>I would like my client first add the attribute to feature and (save &amp; apply) it.</p>
  
  <p>Any help would be appreciated. </p>
  
  <p>Here is the sample project : <a href="https://www.dropbox.com/s/fh71g1k9nsa70nq/index-2.html.zip?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/fh71g1k9nsa70nq/index-2.html.zip?dl=0</a></p>