Open the SimulationEditDialog in the correct mode based on button press
only try to infer it when double clicking.