Fixes the loss of events on creating new alerts views.