[Android] Tidy up the dialog buttons that don't do anything.

All we want to do with these is dismiss the dialog. The same can be done by simply passing null.