FCKEditor: fix problems with image selection dialog

- it should not hide rows when no search criterion
- set form type to form_dialog
CRM: only filter notification messages when creating a reply