[FEATURE] Extends the page not found handling by a page id wizard. Also respect the pid on direct match