beginning of modal for percentages