add fragment for cgDialog