fix bug where multiple resources can't be deleted
add back missing modal dialogues
multiple instances can be terminated and removed from project