fix stop/remove attachment, add max file size warning