erase any previous content in the modal box before delivering new content