This has happened to me twice now, my pokemon leveled up and i didn't notice because I was so focused on grinding that i just went to the next pokemon and tried to throw out the pokemon i was unaware was leveling up. I was prompted to learn a new move at the same time as throwing out the pokemon, right clicked, and declared accidentally that i did not want to move an amazing move that i wasnt even aware of until after I had chosen not to learn it. Now I have to spend 100,000 coins to relearn that move, because there's no confirmation system. It's happened to me before, and i was actually able to resolve it because it had asked me multiple times for the same move, which gave me an actual chance to learn the move that i wanted. Unfortunately this time i lost out on a really great move for my pokemon because of this bug.