add dispose event handler to remove the stuff which is not in SS selecto scope