better handling of destroy and destroy called during DOMRemove event
better handling of destroy and destroy called during DOMRemove event

Caleydo/caleydo_web,phovea/phovea_core,Caleydo/caleydo_web,phovea/phovea_core,Caleydo/caleydo_core