handle error display with functions in Utilities
with functions to display warning and message dialogs