title: Doesn't print the number of posts chosen by the user
body: <p>I want to create functionality, where user can select how many posts to be displayed.Now, If i have 10 posts and want to display only 3, it is not possible. It will show me all the existed posts. Here's my JavaScript:</p>
  
  <pre><code>buttons: {
                  'Save': function () {
  
                      var num        = $(document).find('#dx_blog_posts_num').val();
                      var image      = $(document).find('#dx_blog_featured_image').is(':checked');
                      var excerpt    = $(document).find('#dx_blog_excerpt').is(':checked');
  
                      parentDiv.attr('data-blog-image', image);
                      parentDiv.attr('data-blog-excerpt', excerpt);
  
                      var check   = parentDiv.find('.hidden').length;
  
                      if(!check) {
                          parentDiv.append('&lt;div class="hidden"&gt;' + num + '&lt;/div&gt;');
                      }
                      else{
                          parentDiv.find('.hidden').html(num);
                      }
  
                      jQuery(this).dialog('destroy');
                  }
  
  jQuery(this).dialog('destroy');
        }
  </code></pre>
  
  <p>And the HTML:</p>
  
  <pre><code>&lt;div id="dx-blog-dialog" title="&lt;?php _e( 'Blog', 'dxeasypb' ); ?&gt;"&gt;
      &lt;div&gt;
          &lt;label for="dx_blog_posts_num"&gt;&lt;?php _e( 'Number of Posts', 'dxeasypb' ); ?&gt;&lt;/label&gt;&amp;nbsp;&amp;nbsp;&lt;input type="text" id="dx_blog_posts_num"&gt;
      &lt;/div&gt;  
  
      &lt;div&gt;
          &lt;input type="checkbox" id="dx_blog_featured_image"&gt;&lt;label for="dx_blog_featured_image"&gt;&lt;?php _e( 'Display Featured Image', 'dxeasypb' ); ?&gt;&lt;/label&gt;
      &lt;/div&gt;
  
      &lt;div&gt;
          &lt;input type="checkbox" id="dx_blog_excerpt"&gt;&lt;label for="dx_blog_excerpt"&gt;&lt;?php _e( 'Display Full Content', 'dxeasypb' ); ?&gt;&lt;/label&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>