SAHI - added AlertDefTemplatesPage, refactoring