Implemented "get" properties for dialogs and toasts.
Disabled input flags when changing keyboard layout.