get everything working except the canceling of upload or attachments