We shouldn't force developers to handle decryption/encryption in the Dialog. This process should be handled by Surelock in some way.
Right now, developers don't have to do anything extra if they're using the SurelockDefaultDialog or the material dialog, but they will if they want to implement their own custom dialog.