// A ".show-modal" button will show a modal dialog defined by its "data-modal" attribute.
// A ".show-modal" button will show a modal dialog defined by its "data-modal" attribute.
// Each "data-modal-{target}" attribute will be filled to target element's value or text-content.
// Each "data-modal-{target}" attribute will be filled to target element's value or text-content.
@ -109,7 +124,7 @@ function onShowModalClick(el: HTMLElement, e: MouseEvent) {
// * Then, try to query '[name=target]'
// * Then, try to query '[name=target]'
// * Then, try to query '.target'
// * Then, try to query '.target'
// * Then, try to query 'target' as HTML tag
// * Then, try to query 'target' as HTML tag
// If there is a ".{attr}" part like "data-modal-form.action", then the form's "action" attribute will be set.
// If there is a ".{prop-name}" part like "data-modal-form.action", the "form" element's "action" property will be set, the "prop-name" will be camel-cased to "propName".