add apply-diff button