 					self.fileTableView.reloadData()
 					
 					vc!.view.removeFromSuperview()
-					for o in self.view.subviews {
-						if let v = o as? NSView {
-							if v == self.newFileTextView || v == self.originalFileTextView {
-								
-							} else {
-								v.userInteractionEnabled = true
-							}
-						}
-					}
+					self.changeViewUserInteractionEnabled(true)
 					
 					self.updateFiles()
 				}

			originalFileTextView.scrollRectToVisible(NSRect(origin: CGPointZero, size: CGSizeZero))
			newFileTextView.scrollRectToVisible(NSRect(origin: CGPointZero, size: CGSizeZero))
		}
	}
	
	// MARK: View life cycle

			vc!.view.viewDidMoveToWindow()
			vc!.view.frame = NSRect(origin: CGPointZero, size: self.view.frame.size)
			
			changeViewUserInteractionEnabled(false)
			self.view.addSubview(vc!.view, positioned: NSWindowOrderingMode.Above, relativeTo: nil)
			
			dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
