Problem/Motivation
When a field inside a modal form is replaced, focus is moved to the top of the form.
Proposed resolution
Don't move focus if the currently focused element is inside the modal.
When a field inside a modal form is replaced, focus is moved to the top of the form.
Don't move focus if the currently focused element is inside the modal.