combine DialogHelper to commom;set the defaultPath to default prefix of all the file operation