[sr-dev] git:4.4:ce3d1dd8: presence: test if event is dialog for checking terminated state in presentity update