CRM-13863 - Fix wysiwyg in searchForm popups and make a parent class so this stuff is easier to deal with