Add type="button" to avoid being treated as a submit button