Fixed new bug created with page types and templates.  Also fixed bug with blockUi hiding under popup boxes.