Fixed GUIButton using default button background.
Fixed buttons not hiding when new Dialog is writing text.

Added IDialog.GetDialogMode() to query current Dialog state.