Fix simulation plot dialog logic.

Change logic used when double clicking on a simulation.  Only open the plot dialog if there is data which is up to date or external.