Reposition a popup in runtime

When we don't want it centered on the screen, what can we do to change its position?
It's not an easy task, at least not a standard one, for such a small feature.
You have to either override the popup css or change its javascript.

Take a look at these details: