fix old code for hiding the message dialog