Try hitting the tab key and notice how the focus stays within the modal itself. Also, esc to close modal.