changing the way the edit and new page shw