Remove the entity preview when the popup menu closes.