     }
     
     @objc fileprivate func toggleAdd() {
-        guard let objects = objects else { return }
-        let object = objects[0]
-        let result = engine.create(named: object.objectSchema.className)
+        let result = engine.create(named: className)
         let propertyBrowser = RealmPropertyBrowser(object: result, engine: engine)
-        present(propertyBrowser, animated: true)
+        let navCon = UINavigationController(rootViewController: propertyBrowser)
+        present(navCon, animated: true)
     }
     
     // MARK: - UIViewControllerPreviewingDelegate

extension RealmObjectsBrowser: UITableViewDelegate {
    public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        guard let cell = tableView.cellForRow(at: indexPath) else { return }
        if isEditMode {
            cell.accessoryType = cell.isSelected ? .checkmark : .none
        } else {
            tableView.deselectRow(at: indexPath, animated: true)
            cell.accessoryType = .none
            guard let objects = objects else { return }

        viewRealm.tableView.dataSource = self
        viewRealm.tableView.tableFooterView = UIView()
        viewRealm.tableView.register(RealmObjectBrowserCell.self, forCellReuseIdentifier: RealmObjectBrowserCell.identifier)
    }
    
    private func showEmptyView(_ show: Bool) {
        if show {
            viewRealm.tableView.backgroundView?.alpha = 1.0
        } else {
            viewRealm.tableView.backgroundView?.alpha = 0.0
        }
    }
    
    override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
