cleanup modal content on close, so user doesn't see old content next time it opens