Hello, world!
Try hitting the tab key and notice how the focus stays within the dialog
itself.
To close dialog hit the esc button, click on the overlay or just click the
close button.
Element used to launch the modal would receive focus back after closing.
Разумеется, все эти умозаключения актуальны только в том случае, если душа есть и она бессмертна…
Никто из нас не любит бессмысленную работу. Например, носить кирпичи туда, а потом обратно…