Fix showModalDialog expectation