add a transition for message box display