message body clears when modal window is closed