added a dynamically displayed message box