- changed the cancel index to be the last index of the option dialog list (due to a bug in titanium framework)