fixes crash when selected "history" in preview of page being created
- history button is hidden in newly created page preview as it makes no sense
- redirect to '/' if page does not exist yet
Merge pull request #801 from budziq/history_crash_clean

fixes crash when selected "history" in preview of page being created