ENGLISH·COURSE API
    Preparing search index...
    AddToHomeScreenModal: FC<NiceModalHocProps> = ...

    The add-to-home-screen guide, in a modal.

    Shown imperatively with NiceModal.show(AddToHomeScreenModal), so anything can open it without the guide being prop-drilled down to it. The provider is already mounted in global-providers.

    showCloseButton is off because GuideAutoplay draws its own dismiss control; leaving the primitive's on would put two X's in the same corner. That control calls hide, and remove runs once the close animation has finished, which is what stops the guide's timer and unmounts it.

    The dialog is named by its own title rather than by the guide's heading: the heading sells the idea ("keep the course one tap away") while a dialog's accessible name should say what the dialog is.

    await NiceModal.show(AddToHomeScreenModal);