Added addpcdialog