pub fn permission_choice( dialog: &PermissionDialog, decision: PermissionDecision, ) -> Option<Vec<u8>>