Prevent opening unsupported multimedia files.
FIXED: Selected session was incorrect when switching sessions was canceled.