add machine modal.