fixed bug when initially saving a page using 'save and continue'