I think this comment should make it clear that we're emitting the event on the empty view

```
// trigger 'before:show' event on view if the collection view is shown.
```