Epileptic seizures can be treated by benzodiazepine .
These properties make benzodiazepines useful in treating anxiety , insomnia , agitation , seizures , muscle spasms , alcohol withdrawal and as a premedication for medical or dental procedures .