LPS-42790 When Portlet Configuration is not loaded in a pop_up state, we should still add the resources for static portlets and embedded portlets. I have confirmed with Ray Auge about this fix.
LPS-42790 We should follow the standard with other portlets to open permission configuration in dialog when we can.