LPS-39275 Replace the deprecated method invocations
LPS-39275 SF
LPS-39467
LPS-39405 Initial source formatting
LPS-39405 Move the Add Layout permission logic to Permission Util
LPS-39405 Remove redundant logic in add layout permission checking
LPS-39405 If current layout is a child page, check add layout permission to current layout
LPS-39405 Rearrange code in add panel (no logic changes)
LPS-39405 Use same condition to display the add icon and the add panel
LPS-39405 Use same condition to display add application and add content tab.

Initial conditions to display the add content and add application tabs are the same. In both cases the user adds an application to a page. Specific conditions (e.g. view permissions, add to page permissions, create content permissions) are checked within the panel logic.
LPS-39405 Display the add layout panel based on the add layout permission
LPS-39405 SF
LPS-39355 fix portlet-title-text alignment
LPS-39355 - Source formatting
LPS-39437 - Add spacing around Scope drop down in control panel sites side menu
LPS-38579 decreased size of 'flag as inappropriate' dialog
LPS-39152 - Add hover style to dockbar account controls
LPS-39379 Prevent JS error if cmd input does not exist
LPS-39379 Do not reload form if page tree is not displayed.

Reloading form after closing the page dialog only makes sense if page tree is displayed, since the selected pages (and therefore the list of portlets) might have changed.
LPS-39379 - Source formatting