Make alert a component.