modal popup: jquery hide function breaks ckeditor on firefox

On firefox, when using hide jquery function, ckeditor button icons are not displayed, only label are displayed.

As a workaround, we can use `visibilitity:hidden` instead of `display:none` (cf [ckeditor bug 10374](http://dev.ckeditor.com/ticket/10374)).

This is also related to #2257.