If she has been on the sleeping pill for more than 14 days, then there is a strong possiblity its not working, or in my experiance making matters worse.
It's along haul try to get them to sleep through, worse than a baby!
Try to find whats waking them up, thirst, hunger, cold/heat, toilet etc, and try to fix it.
Like a baby, don't let them sleep during the day, create a fairly fixed routine, and expectations around bedtime.
Bod
As for the cupboard, lock it, or let them play with it! (Fill with quiet objects that don't make a noise!!)