Android

I fixed problem with a screen orientation. Now the dialog is robust to flipping.