Optimize the page selection dialog focus