click outside now closes popovers