RTL support: centering the popup in RTL page