alert module: dry out mixin