Add close button to message dialog