private void SaveFileWithDialog()
        {
            var fileFormat = Outliner.ActiveFileFormat;

            if (fileFormat.FileInfo.ParentArchive != null)
            {
                fileFormat = fileFormat.FileInfo.ParentArchive as IFileFormat;
            }

            ImguiFileDialog sfd = new ImguiFileDialog();

            sfd.SaveDialog = true;
            foreach (var extension in fileFormat.Extension)
            {
                sfd.AddFilter(extension, "");
            }

            foreach (var format in FileManager.GetCompressionFormats())
            {
                foreach (var extension in format.Extension)
                {
                    sfd.AddFilter(extension, "");
                }
            }

            sfd.FileName = fileFormat.FileInfo.FileName;

            if (sfd.ShowDialog("SAVE_FILE"))
            {
                SaveFileFormat(fileFormat, sfd.FilePath);
            }
        }
        private void OpenFileWithDialog()
        {
            ImguiFileDialog ofd = new ImguiFileDialog();

            if (ofd.ShowDialog("OPEN_FILE", true))
            {
                foreach (var file in ofd.FilePaths)
                {
                    LoadFileFormat(file);
                }
            }
        }