fires closed.bs.alert *after* DOM detach()

fires closed.bs.alert *after* element is removed from DOM.
Previously it fired while the element was still attached.