GUI-HELPER: rework the message dialogs helper methods

Signed-off-by: Tomas Hozza <thozza@gmail.com>