A modal can be included anywhere on the page. On initialization a modal's current size will be cached, and the element will be detached from the DOM and moved inside a dimmer.
Ваше окно с кнопкой переносит в конец страницы, получается, что кнопка не в форме
Ваше окно с кнопкой переносит в конец страницы, получается, что кнопка не в форме