dialog dismiss action controlled on mCallbacks



need this in one of my project, because of dismiss m not able to validate entries filled up in dialog box on positive click.