Add dialog's guide and fix popup auto computed position