updated popup alerts to be polymorphic
update after change of attribute name in alerts api