fixed "It's possible to select a page when you don't have a project selected." #18