button makes a dialog