Add before:close events to Regions

I've added a trigger for `before:close` in `close()` of the `Region`. We have a couple of cases where the Region must perform an operation just before the current view is closed.