MachineStateModal: if state is coming as Running, prepareIDE and destroy modal