Fixed double showing of lost dialog.