fixes #2820 (Adding pages in live mode)

fixes #2820