pushDialogLayer: don't implicitly convert properties to bool
Otherwise we end up ignoring properties that have explicitly been set to
0. For example, modality: Qt.NonModal
was being treated as if
modality
was unset.
Otherwise we end up ignoring properties that have explicitly been set to
0. For example, modality: Qt.NonModal
was being treated as if
modality
was unset.