D.S.
She is manipulating you. She sees how much control she has over you with her actions and she is milking it. She IS mis-behaving if she is putting up a fuss whenever you are not focused on her. Discipline her for this and make sure that you are not feeding into it. Dad is her parent too and should not be made to feel like an outsider. This behavior is very annoying to other people and does not do anything good for the two of you. See it for what it is, a little girl insisting on getting her way and punishing the people that keep her from her goal. Helping her become balanced now will make the rest of her growing up much more pleasant.