fix #1493 add loader when the user delete a project