Send the request token when toggling the visibility of an element (see #7406)