I don't think he hid so much as he refused to acknowledge that he was the bad guy. It was always hilarious watching his scenes with Kira because he keeps trying to get her approval and to get her to say that is a good man and tried his best during his occupation despite doing nothing to stop it and taking multiple Bajoran women as concubines. His warped view of his actions was always there but didn't come out until Waltz and later episodes which sadly slipped into cartoony territory.
To be fair, the Occupation had been going on for decades and racking up a multitude of atrocities well before Dukat was even born, and he grew up in a propaganda-fueled society that told him this was right.
And then as soon as he gains any real power (not nearly enough power to end the Occupation, in fact he's still being pressured to maintain production),
he decides that he wants to be the hero of Bajor, so he cuts their brutal forced-labor quota in half, ends child labor, and improves their food and medical treatment. All obviously great things, and against everything he has been taught.
And the Resistance responds to his gesture by killing 200 Cardassians on the one-month anniversary of Dukat's appointment. A direct spit in the face of Dukat and his gift. It didn't matter what Dukat did for Bajor, after everything that "Cardassians" had done to them, they were simply unwilling to accept any Cardassian hero. That he would even try to help them was an insult. They refused to let him be the hero. So he was twisted into a villain.
And the Resistance responds to his gesture by killing 200 Cardassians on the one-month anniversary of Dukat's appointment. A direct spit in the face of Dukat and his gift. It didn't matter what Dukat did for Bajor, after everything that "Cardassians" had done to them, they were simply unwilling to accept any Cardassian hero. That he would even try to help them was an insult. They refused to let him be the hero. So he was twisted into a villain.