In a large skillet, bring 1/4 inch of salted water to a boil. Add the green beans, cover and cook until crisp-tender, about 4 minutes. Drain the beans and transfer them to a bowl. Add butter and chopped dill and toss. Season the beans with salt and pepper and serve.