These medications are both sedating and potentially addictive.
Always always always ask your personal physician what medicines to take and when. The dentist should make sure you are sedated not you. Ask the dentist the specific plans he/she has to make you comfortable during and after the procedure. Then, only take what is prescribed for you.