modify.php validation. styling cancelled classes