Added modal window with file type choice in Matrix view.