popinDialog.setCenterContent(false);
popinDialog.setShadow(false);
popinDialog.add(ipadMenu);
popinDialog.setHideOnBackgroundClick(true);
MGWT.addOrientationChangeHandler(new OrientationChangeHandler() {
@Override
public void onOrientationChanged(OrientationChangeEvent event) {
if (event.getOrientation() == ORIENTATION.LANDSCAPE) {
popinDialog.hide();