ajaxify dialog, allow editing department
linkify links in dialog