Shes at the age where she is testing you. It happened with my kids and what worked for me is that i would have a bedtime routine for them. Dinner, bath, brushing teeth, spent time in their rooms, reading talking etc and then let them know its time for bed. Leave the room, and every time they came out of the room, just sent them back in and told them its time for bed. I kept doing that until they got the message that its time for bed and thats that. Dont give in. It took a week, and usually up to an hour each night being consistent, and no giving in until they got the message. Now i dont have this issue, when its time for bed they know its time for bed. Its hard at the start and emotionally draining but be firm and consistent and she will get the message.