Applied patch for jira issue - OFBIZ-7054. Example -> PDF should be open in a new window. Thanks Harsh for the contribution.