Fix for material dialog to fit better in tablet landscape mode.