less boilerplate in views
extract modal events hash to modal mixin