Added a dialog popup, added support for pile names