Is there a thing on your map you normally want popups to work on, but it's super annoying right now? Or maybe there's a thing that usually just there as a graphical reference, but you want to know more about it at the moment? Introducing, the Identify Controller...
With this widget, your users can turn on or off popups for individual layers with the click of a checkbox.
This works by toggling the popupEnabled property of a FeatureLayer and is compatible with both the basic map popup and the Identify Custom Widget.
The layer list stays in-sync with the layers in your map whether they are in your webmap or loaded or removed at runtime.