function isEditModeImmediate(type){
      var widget = dashboard.widgets[type];
      return widget && widget.edit && widget.edit.immediate;
    }
Checks if the edit mode of the widget should be opened immediately.

@param widget type