with reference to case law explain dismissal by operation of law in detail