/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h
Counterpart to AddPopupLayerSlot
void RemovePopupLayerSlot ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & WidgetToRemove )