Time outs do wonders. And she's not 2 yet so it's only for one minute. We always sit Kaylee on our ottoman for timeout. If she tries to get up, the first time tell her she has to stay there until you come to get her and start the time over. Any additional times you say nothing and start the time over. I started Kaylee around that age, and she only tried to get off a couple times, but boy would she cry loud. When time is up, go to her and ask her if she knows what she did wrong(she may not be good at answering at that age, so tell her if she dosen't answer) Then, ask her to give you a hug and tell you sorry(Important step). Then tell her you love her and it's business as usual. It worked well starting Kaylee at that age. Now at two, I give a warning that she will go in time out and she usually says I don't want to go in timeout, and will stop what she was doing.
Good Luck!!! Hope this helps.