PHP: simplified the 'Add New Project' dialog validation checks
PHP: fixed: when creating a project in a non existent folder, create it first