I've already tried to do so... But i don't understand how to make it working:
I tried this way, but it is not working because it is forbidden to write msgQuestion.onPushedYes: in onClicked of SimpleButton..
//has 2 buttons and when they are clicked, then these 2 signals are emitted
//file my dialog
msgQuestion.state = "show"