Context is a critical factor in determining whether misconduct warrants dismissal or a lesser sanction.