Move IDE.MachineStateModal to Main app