added option to add image to dialog buttons