/**
* Create an instance of WPDKUIModalDialogTour class
*
* @brief Construct
*
* @return WPDKUIModalDialogTour
*/
public function __construct($id, $title)
{
// Remember, change the id to reopen this dialog tour
parent::__construct($id, $title);
// Permanent dismiss
$this->permanent_dismiss = true;
if (false === $this->is_dismissed() && 0 === did_action('wpxm_open_tour')) {
// Enqueue page view
WPDKUIComponents::init()->enqueue(WPDKUIComponents::PAGE);
}
}