Ds better pua dialoginfo

This improves the way pua dialoginfo and presence dialoginfo work.

If accepted, please credit Damien Sandras from Be IP s.a. @ http://www.beip.be