use correct ports object and implement addPwdDialog

signing is done within encryption dialog, so we should use eDialogPorts object

then the show-pwd-dialog message needs to be handled by the signDialog