protected function closeEditView()
    {
        try {
            $elem = $this->getSession()->getPage()->find('css', '.ez-main-content');
            if ($elem && $elem->isVisible()) {
                $elem->find('css', '.ez-view-close')->click();
                $this->waitWhileLoading();
            }
        } catch (\Exception $e) {
        }
    }