This test passes if opening modal dialogs is allowed and no error message is logged in the console.