supporting saving of files via the browser.
adding a cancel button