Added ability to close prewviews by clicking prop name