presence_dialoginfo: handle all states to get most relevant xml

- patch from FS#341