adding generate button
adding the generate dialog
updating signature change for create doc