You can save the number of the monitor at start time, and then, when displaying the dialog, just ensure it is shown there.