Section spinners reliably removed from list header (#56368740)

Sometimes the sub-tree (e.g. sections in directives) is being drawn when not yet attached to the parent, causing updateCount and loaded events to go nowhere other than to a document fragment.  With this fix the element is polled for being a descendant of the document element (i.e. attached to DOM) before triggering the aforementioned events.