Save as vs Save
Currently, the Save button/menu works as Save as, i.e. it asks the user to confirm overwriting the existing PDF document in one's hard disk. Although I suspect that you are constrained by the behavior of a browser, is it possible to save and overwrite without user interaction? And have a separate Save As button?