Bootstrap 3 like events

Without this triggers (hidden.bs.modal) script will not remove content from DOM.