throw IllegalStateException if ColorPickerDialog and BrushPickerDialog are not initialized