This prospective , randomized , double-blind study was designed to evaluate the use of intranasally administered dexmedetomidine vs intranasal midazolam as a premedication in children undergoing complete dental rehabilitation .