Fix opening of non-alert events.
Add [gid:sid] to flat alert view.