Activate primary instance window when opening a file.