Code changed to use Custom Dailog