Fixing a security issue with the export dialog. This affects the Resonite Packages, but it's actually a more general issue that's been there for a while that only just got reported, technically affecting all kinds of exports (textures, models, audio...)
Compatible with previous build, but update recommended!
Security:
- Export dialog will now re-verify permissions for export when actual export is triggered
-- This fixes an exploit, where export dialog can be redirected to a different object to bypass security checks (like SimpleAvatarProtection) (reported by @glavingkya, security ticket #927658)
