adds support for widget manager

so the widgets can be used on more places