what happen if screen size is "rectangle" like on some tablet? It can result in too height or too width dialog which is then unreadable. I prefer limiting each element separately.