added some generic Dialog action listeners