rtl support for material dialogs