V1 of o-overlay

I managed to do it by changing the order of button and title in the DOM. But the right margin isn't necessary