Fixes crash if "delete page" was selected in preview of page that being created
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
Merge pull request #800 from budziq/delete_crash

Fixes crash if "delete page" was selected in preview of page that being created