Sync material-dialogs library with v0.5.x

Change-Id: Ie79edf4be132f3099c4543cd657f3e9d2de3f299
Signed-off-by: Rob Beane <robbeane@gmail.com>