Fix to resolve issues caused by inline display attribute on modal notif layout.