LPS-41798 Subscribes to events 'dockbarHidePanel' and 'dockbarShowPanel' to close the custom layout when we close the panel or open another panel
LPS-41798 SF
 LPS-41798 - SF
LPS-41798 - Source formatting