add footer-html with page number only if it's not set previously