prevent copy button from submitting