Widget factory for simple creating and destroying widgets while respecting all its dependencies.