Adding page type to the pages admin page and fixing the reset layout visibility