iface.getFeatureDialog creates an "add" dialog for an invalid feature