I want to create a Selenium test, where a modal dialog is used. If I want to use the element in the div I get the error message that the element cannot be found. I have also