Added test for two modal dialogs