A second-half touchline melee marred Sheffield Wednesday's 3-1 Championship victory over Brighton at Hillsborough.