[sr-dev] git:master: dialog: remove dialog from profile as soon as gets to terminated state