Some updates to customdialogbox
Merge remote-tracking branch 'origin/master'