Converted manager to provider in order to be able to configure the directives that can use single panel functionality
Added test to make sure single panel functionality can work with custom directives