Implement delete functionality with confirmation modals for projects. cherry picked (by Klaas) from commit 6764fbf343fb; but: * projects only * `delete_deferred` * flake8 See #84 for the original PR