Added document numbering
Documents open on a new window