Now can set behaviour of buttons on click by implementing CustomDialog.ClickListener in the activity that you created the dialog from.
Merge remote-tracking branch 'origin/master'