fixed grades to have New/Edit button dynamically show