Made remove attachment work from Composer UI