How would I change "disabledElementIds" when using createElementSelectorModal()? I'm using the createElementsSelectorModal to access certain element types as described by Brandon here

With this implementation, how would I clear out "disabledElementIds"? So that if an Entry is added and then removed I can tell the Modal it should be selectable again. 

Thanks!
Elements can be manually enabled/disabled from the modal after it has been initialized using the following methods:

myModal.elementIndex.enableElementsById(elementIds);


and

myModal.elementIndex.disableElementsById(elementIds);


Both functions accept a number (single element ID) or an array of numbers (multiple element IDs).