[FIX]dialog: move call trigger('closing') after the modal('hide') call ...

...to prevent element being destroyed before we could do that call leaving a backdrop visible