added cancel callback argument to input_dialog
Merge branch 'master' into minlib