add alert publisher to layout template