Factor filter making logic out of OpenProjectPage into OpenProjectDialog.
Differential Revision: D1298