Before modal window.
fx to pass params from form is ok.
Form ok. Before transfer HTML to JS.
Form show and hide without reloading.