Added support for cross-domain file selection when file manager is invoked from TinyMCE editor