With the new web component based header, the cancel button is now encapsulated inside the header component.  So instead of directing accessing it, one has to pierce through the shadow dom boundary of the host element, which in this case is the header.