orientation portrait and dialog.