#234 Implemented same logic as creating new page.
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev