modal popup: jquery hide function breaks ckeditor on firefox