allow alert-sender to set event type