Add a `Database->tableExists()` check in the page/file picker (see #5590)