use default fcgi_param configuration setting
fix domain http_host
fix setting old date on empty date
clean up code
show dialog on edit or new mailing