modal delete, background tasks