set offset after elements appended to body

display alert dialog center.