I create 2 dialogs, one containing more text that can be shown. I scroll to the bottom, click inside it. Then when I click into the second dialog, the contents of the first dialog move up, the scrollbar going back to top.
when I open a dialog with no interactive elements inside (buttons, inputs), by default the close button receives focus. This causes the dialog to close if the user hits enter key, which I also use for other purposes. Is there a way to prevent the close button from receiving focus?