Order of callback executions with same input

I have a question about the order of callback executions for callbacks with the same Input.

For my application specifically I’d like to have a button that triggers a confirmation message that changes depending on prior user input.

So if I have a callback function connected to the button input that changes the ConfirmDialog’s ‘message’ property and another one that switches the ConfirmDialog’s ‘displayed’ property to True, how do I ensure that one is triggered/executed before the other?