Making sure that the element tag gets removed event with the data-attribute id