Fixed: CPComboBox doesn't work in modal.

Previously a CPComboBox didn't work when its parent window was in modal. Now it works.

Fixed #2122