Resilience or panic? The public and terrorist attack