You need to export the SaveAsDlg dialog function. Add the following line to the EXPORTS statement in your module-definition file:
SaveAsDlg @4