 Session.setDefault('evidenceShowNew', false)
 Session.setDefault('evidenceEditingId', null)
+Session.setDefault('nestedEvidenceEditingId', null)
 Session.setDefault('evidenceShowAll', false)
 Session.setDefault('evidenceType', null)
 

        collection_name = share.evidenceType[key].collection_name
        Meteor.call 'adminToggleQAd', this._id, collection_name, (err, response) ->
            if response then share.toggleQA(tmpl, response.QAd)

        Collection = share.evidenceType[key].collection
        Collection.update(@_id, {$set: {isHidden: !@isHidden}})

    'click .add-nested': (evt, tmpl) ->
        # remove exiting modal, add new one, and inject scope
        div = tmpl.find('#nestedModalHolder')
        $(div).empty()
        key = Session.get('evidenceType')
        NestedTemplate = share.evidenceType[key].nested_template
        Blaze.renderWithData(NestedTemplate, {parent: @}, div)

share.abstractFormEvents =

    'click #create-cancel': (evt, tmpl) ->
