a message dialog for validation, informations and error dialogs