Looks like this should be `Q_PROPERTY(bool dialogOnScreen ...`, so it can be set declaratively.