Updated the behavior when deleting a page to take you home