Delete node when deleting slide.