adds feature to close news if user clicks somewhere outside of it