Action invoked when the close (X) affordance is clicked. Implementations should hide the pill without scrolling.