Dialog popup top position fix