the menu item "Insert > Page Number..." wrongly opens "Header and Footer dialog", same as "Insert > Header and Footer..."
See bug 104088. *** This bug has been marked as a duplicate of bug 104088 ***