Add class to header if alert is display block