Wrapper for displaying message dialogs to a user.