protected function getDataAttributes()
    {
        $ret        = array();
        $properties = array(
            'backdrop',
            'keyboard',
            'show',
            'remote',
        );

        foreach ($properties as $property) {
            $value = $this->{'get'.$property}();

            if ($value) {
                $ret['data-' . $property] = $value;
            }
        }

        return $ret;
    }