Fix setting ocdialog options after initialization.

@Kondou-ger @kabum