Adding custom buttons to dialog