I am using CKEDITOR 4.4.6 DEV and loading it on jquery shadowbox version "3.0rc1" as shown on screenshot below.

On click of any of the toolbar options, the entire shadowbox closes! Below is the code for initializing ckeditor. May be some extra code to be added or i have missed something? Thankyou!
I have tried overriding window onclick with event.stopPropogation() but so far no results.
I am assuming some onclick event is triggering which i am not able to figure out?
Thanks
Just in case , code below:
JS
Shadowbox.init({
animate: false,
overlayColor: "#AAA"
});
html
rel='shadowbox;player=iframe;'