ajaxForm introduced, modal dialogs refactored
main js refactored