Home > widget-integration > InstantSearchController > handleDialogIntegration
InstantSearchController.handleDialogIntegration() method
Handle dialog integration for dropdown styles.
For dropdown styles, observes the theme's #search-modal host element and injects ISW into the dialog when it opens, then moves it back to the body when the dialog closes. Full-width styles skip this entirely — the ISW overlay already covers the viewport.
**Legacy**: handleDialogIntegrationForDropdownStyles() **New**: handleDialogIntegration() + injectISWIntoDialog() + moveISWBackToBody()
Signature:
protected handleDialogIntegration(): void;
Returns:
void