Many times I find myself with a large number of opened tabs in Firefox browsers and thankfully you don't need to close the program in order to close all the tabs except the one I want to keep.
If you don't have installed program for editing PDF documents on your computer, then you can use web application PDFescape which allows you to edit your documents in your browser.