Added buttons to dialog