Add close button to share dialog
Minor
Add resource to files list when received