Promises for project add and edit working.