Close dialog on Done as well

Closes credentials/irma_android_management#18.