@losika use a mixin instead of declaring QModal as component in your own wrapper.