dialogs: fixed message handling, Closes #98

the semantic of the OnAction() return value changed for "master"