[sr-dev] git:master: dialog: check if the transaction is created for BYE closing the dialog