docs: function buildDialogActions(buttons, callback)
          {
              var $compile = $injector.get('$compile');
  
              // DOM elements
              var dialogActions = angular.element('<div/>', {
                  class: 'dialog__actions'
              });
  
              var dialogLastBtn = angular.element('<button/>', {
                  class: 'btn btn--m btn--blue btn--flat',
                  text: buttons.ok
              });
  
              // Cancel button
              if (angular.isDefined(buttons.cancel))
              {
                  // DOM elements
                  var dialogFirstBtn = angular.element('<button/>', {
                      class: 'btn btn--m btn--red btn--flat',
                      text: buttons.cancel
                  });
  
                  // Compilation
                  dialogFirstBtn.attr('lx-ripple', '');
                  $compile(dialogFirstBtn)($rootScope);
  
                  // DOM link
                  dialogActions.append(dialogFirstBtn);
  
                  // Event management
                  dialogFirstBtn.bind('click', function()
                  {
                      callback(false);
                      closeDialog();
                  });
              }
  
              // Compilation
              dialogLastBtn.attr('lx-ripple', '');
              $compile(dialogLastBtn)($rootScope);
  
              // DOM link
              dialogActions.append(dialogLastBtn);
  
              // Event management
              dialogLastBtn.bind('click', function()
              {
                  callback(true);
                  closeDialog();
              });
  
              return dialogActions;
          }