filterDismissablePanels

Returns a list of DismissablePanels that is filtered to only contain Panels of type P.