projectDetails when clicking outside of popup